eciesjs
Version:
Elliptic Curve Integrated Encryption Scheme for secp256k1/curve25519
8 lines (7 loc) • 349 B
TypeScript
export declare const SECRET_KEY_LENGTH = 32;
export declare const COMPRESSED_PUBLIC_KEY_SIZE = 33;
export declare const UNCOMPRESSED_PUBLIC_KEY_SIZE = 65;
export declare const ETH_PUBLIC_KEY_SIZE = 64;
export declare const CURVE25519_PUBLIC_KEY_SIZE = 32;
export declare const XCHACHA20_NONCE_LENGTH = 24;
export declare const AEAD_TAG_LENGTH = 16;