named collections for hashes and stream ciphers

also, with the funny factoryof<> and instanceof<> primitives that kindof
solve the memory trouble.