export declare const HEX_ENC = "hex"; export declare const UTF8_ENC = "utf8"; export declare const BINARY_ENC = "binary"; export declare const ENCRYPT_OP = "encrypt"; export declare const DECRYPT_OP = "decrypt"; export declare const SIGN_OP = "sign"; export declare const VERIFY_OP = "verify"; export declare const LENGTH_0 = 0; export declare const LENGTH_1 = 1; export declare const LENGTH_12 = 12; export declare const LENGTH_16 = 16; export declare const LENGTH_32 = 32; export declare const LENGTH_64 = 64; export declare const LENGTH_128 = 128; export declare const LENGTH_256 = 256; export declare const LENGTH_512 = 512; export declare const LENGTH_1024 = 1024; export declare const AES_LENGTH = 256; export declare const HMAC_LENGTH = 256; export declare const AES_BROWSER_ALGO = "AES-CBC"; export declare const HMAC_BROWSER_ALGO = "SHA-256"; export declare const HMAC_BROWSER = "HMAC"; export declare const SHA256_BROWSER_ALGO = "SHA-256"; export declare const SHA512_BROWSER_ALGO = "SHA-512"; export declare const AES_NODE_ALGO = "aes-256-cbc"; export declare const HMAC_NODE_ALGO = "sha256"; export declare const SHA256_NODE_ALGO = "sha256"; export declare const SHA512_NODE_ALGO = "sha512"; export declare const RIPEMD160_NODE_ALGO = "ripemd160"; export declare const PBKDF2_DIGEST_SHA256 = "sha256"; export declare const PBKDF2_DIGEST_SHA512 = "sha512"; export declare const PREFIX_LENGTH = 1; export declare const KEY_LENGTH = 32; export declare const IV_LENGTH = 16; export declare const AES_GCM_NONCE_LENGTH = 12; export declare const AES_GCM_ENVELOPE_NONCE_MAX_LENGTH = 128; export declare const AES_GCM_TAG_LENGTH = 16; export declare const MAC_LENGTH = 32; export declare const DECOMPRESSED_LENGTH = 64; export declare const PREFIXED_KEY_LENGTH: number; export declare const PREFIXED_DECOMPRESSED_LENGTH: number; export declare const ECIES_SERIALIZED_MIN_LENGTH: number; export declare const MAX_KEY_LENGTH = 1024; export declare const PBKDF2_DEFAULT_ITERATIONS = 210000; export declare const MAX_MSG_LENGTH = 32; export declare const EMPTY_BUFFER: Uint8Array; export declare const EC_GROUP_ORDER: Uint8Array; export declare const ZERO32: Uint8Array; export declare const ERROR_BAD_MAC = "Bad MAC"; export declare const ERROR_BAD_SIGNATURE = "Bad signature"; export declare const ERROR_BAD_PRIVATE_KEY = "Bad private key"; export declare const ERROR_BAD_PUBLIC_KEY = "Bad public key"; export declare const ERROR_ECIES_SERIALIZED_LENGTH = "ECIES deserialize: buffer shorter than minimum serialized length"; export declare const ERROR_EMPTY_MESSAGE = "Message should not be empty"; export declare const ERROR_MESSAGE_TOO_LONG = "Message is too long"; export declare const ERROR_BAD_EPHEM_PRIVATE_KEY = "Invalid ephemeral private key"; export declare const ERROR_AES_IV_LENGTH = "AES-CBC: IV must be 16 bytes"; export declare const ERROR_AES_KEY_LENGTH = "AES-CBC: key must be 32 bytes"; export declare const ERROR_AES_GCM_KEY_LENGTH = "AES-GCM: key must be 16, 24, or 32 bytes"; export declare const ERROR_AES_GCM_NONCE_LENGTH = "AES-GCM: nonce must be at least 8 bytes"; export declare const ERROR_AES_GCM_CIPHERTEXT_LENGTH = "AES-GCM: ciphertext must be longer than the authentication tag"; //# sourceMappingURL=constants.d.mts.map