Ultrasensitive detection of nucleic acids by template enhanced hybridization followed by rolling circle amplification and catalytic hairpin assembly.