eciesjs
Version:
Elliptic Curve Integrated Encryption Scheme for secp256k1/curve25519
7 lines (6 loc) • 524 B
TypeScript
export declare const symEncrypt: (key: Uint8Array, plainText: Uint8Array, AAD?: Uint8Array) => Uint8Array;
export declare const symDecrypt: (key: Uint8Array, cipherText: Uint8Array, AAD?: Uint8Array) => Uint8Array;
/** @deprecated - use `symEncrypt` instead. */
export declare const aesEncrypt: (key: Uint8Array, plainText: Uint8Array, AAD?: Uint8Array) => Uint8Array;
/** @deprecated - use `symDecrypt` instead. */
export declare const aesDecrypt: (key: Uint8Array, cipherText: Uint8Array, AAD?: Uint8Array) => Uint8Array;