mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
10 lines
418 B
TypeScript
Executable File
10 lines
418 B
TypeScript
Executable File
import { AES } from './aes';
|
|
export declare class AES_CTR extends AES {
|
|
static encrypt(data: Uint8Array, key: Uint8Array, nonce: Uint8Array): Uint8Array;
|
|
static decrypt(data: Uint8Array, key: Uint8Array, nonce: Uint8Array): Uint8Array;
|
|
constructor(key: Uint8Array, nonce: Uint8Array);
|
|
encrypt(data: Uint8Array): Uint8Array;
|
|
decrypt(data: Uint8Array): Uint8Array;
|
|
private AES_CTR_set_options;
|
|
}
|