Cryptography/Format cleanups - and support for Memory::BLOB