UNPKG

208 BJavaScriptView Raw
1export const ENCODING = ['scrypt', 'xsalsa20-poly1305'];
2export const ENCODING_NONE = ['none'];
3export const ENCODING_VERSION = '3';
4export const NONCE_LENGTH = 24;
5export const SCRYPT_LENGTH = 32 + (3 * 4);