Swap-Aggregator-Subgraph/node_modules/asmcrypto.js/dist_es8/aes/ctr.d.ts
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

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;
}