Define header formats for encrypted files.
Refactor Cryptor interface to support HMACs and KBKDF, and to generate headers.