An enzyme that catalyzes the endonucleolytic cleavage to 3'-phosphomononucleotide and 3'-phospholigonucleotide end-products. It can cause hydrolysis of double- or single-stranded dna or rna. (From Enzyme Nomenclature, 1992) EC 3.1.31.1.