6 AES_256_GCM: 'aes-256-gcm',
7 CHACHA20_POLY1305: 'chacha20-poly1305',
8 XCHACHA20_POLY1305: 'xchacha20-poly1305',
16 BLAKE2B512: 'blake2b512',
20 * Supported packings/cipher types.
21 * To be useful, any cipher included here must be Authenticated Encryption with Additional Data (AEAD).
22 * More preferable versions are numbered higher.
29 algorithm: ALG
.AES_256_GCM
,
36 keyDeriver: KD
.SCRYPT
,
41 algorithm: ALG
.CHACHA20_POLY1305
, // Prefer this over NIST because we stan djb
50 keyDeriver: KD
.SCRYPT
,
55 algorithm: ALG
.XCHACHA20_POLY1305
, // Not yet available, but would prefer even more...
64 keyDeriver: KD
.SCRYPT
,
69 algorithm: ALG
.AES_256_GCM
,
76 keyDeriver: KD
.SHAKE256
,
81 algorithm: ALG
.CHACHA20_POLY1305
,
90 keyDeriver: KD
.SHAKE256
,
95 algorithm: ALG
.XCHACHA20_POLY1305
, // Not yet available, but would prefer even more...
104 keyDeriver: KD
.SHAKE256
,
109 algorithm: ALG
.AES_256_GCM
,
116 keyDeriver: KD
.BLAKE2B512
,
121 algorithm: ALG
.CHACHA20_POLY1305
,
130 keyDeriver: KD
.BLAKE2B512
,
135 algorithm: ALG
.XCHACHA20_POLY1305
, // Not yet available, but would prefer even more...
144 keyDeriver: KD
.BLAKE2B512
,
149 Object
.defineProperties(allVersions
, {
160 module
.exports
= allVersions
;