Prepare for revised versioning: Both the encryption mechanism and
the KDF may be specified in the versioning.
ENCRYPTION_PARAMETERS = \
{ 0: \
- { "kdf": ("dummy", 16) }
+ { "kdf": ("dummy", 16)
+ , "enc": "passthrough" }
, 1: \
- { "kdf": ("scrypt",
- { "dkLen" : 16
- , "N" : 1 << 15
- , "r" : 8
- , "p" : 1
- , "NaCl_LEN" : 16 }) } }
+ { "kdf": ( "scrypt"
+ , { "dkLen" : 16
+ , "N" : 1 << 16
+ , "r" : 8
+ , "p" : 1
+ , "NaCl_LEN" : 16 })
+ , "enc": "aes-gcm" } }
###############################################################################