'use strict';
const ALG = {
+ __proto__: null,
+
AES_256_GCM: 'aes-256-gcm',
CHACHA20_POLY1305: 'chacha20-poly1305',
XCHACHA20_POLY1305: 'xchacha20-poly1305',
};
const KD = {
+ __proto__: null,
+
SCRYPT: 'scrypt',
SHAKE256: 'shake256',
BLAKE2B512: 'blake2b512',
* More preferable versions are numbered higher.
*/
const allVersions = {
+ __proto__: null,
+
1: {
version: 1,
algorithm: ALG.AES_256_GCM,
},
};
+Object.defineProperties(allVersions, {
+ ALG: {
+ enumerable: false,
+ get: () => ALG,
+ },
+ KD: {
+ enumerable: false,
+ get: () => KD,
+ },
+});
+
module.exports = allVersions;
\ No newline at end of file