Modified encryptor/decryptor API to require initmap.