5f449a75b934beebe51084bdb348ba7a22524d2a
4 AES_256_GCM: 'aes-256-gcm',
5 CHACHA20_POLY1305: 'chacha20-poly1305',
6 XCHACHA20_POLY1305: 'xchacha20-poly1305',
12 BLAKE2B512: 'blake2b512',
16 * Supported packings/cipher types.
17 * To be useful, any cipher included here must be Authenticated Encryption with Additional Data (AEAD).
18 * More preferable versions are numbered higher.
23 algorithm: ALG
.AES_256_GCM
,
30 keyDeriver: KD
.SCRYPT
,
35 algorithm: ALG
.CHACHA20_POLY1305
, // Prefer this over NIST because we stan djb
44 keyDeriver: KD
.SCRYPT
,
49 algorithm: ALG
.XCHACHA20_POLY1305
, // Not yet available, but would prefer even more...
58 keyDeriver: KD
.SCRYPT
,
63 algorithm: ALG
.AES_256_GCM
,
70 keyDeriver: KD
.SHAKE256
,
75 algorithm: ALG
.CHACHA20_POLY1305
,
84 keyDeriver: KD
.SHAKE256
,
89 algorithm: ALG
.XCHACHA20_POLY1305
, // Not yet available, but would prefer even more...
98 keyDeriver: KD
.SHAKE256
,
103 algorithm: ALG
.AES_256_GCM
,
110 keyDeriver: KD
.BLAKE2B512
,
115 algorithm: ALG
.CHACHA20_POLY1305
,
124 keyDeriver: KD
.BLAKE2B512
,
129 algorithm: ALG
.XCHACHA20_POLY1305
, // Not yet available, but would prefer even more...
138 keyDeriver: KD
.BLAKE2B512
,
143 module
.exports
= allVersions
;