UNPKG

312 BJavaScriptView Raw
1// Copyright 2017-2022 @polkadot/util-crypto authors & contributors
2// SPDX-License-Identifier: Apache-2.0
3export const ENCODING = ['scrypt', 'xsalsa20-poly1305'];
4export const ENCODING_NONE = ['none'];
5export const ENCODING_VERSION = '3';
6export const NONCE_LENGTH = 24;
7export const SCRYPT_LENGTH = 32 + 3 * 4;
\No newline at end of file