crypto-es
Version:
A cryptography algorithms library compatible with ES6 and TypeScript
26 lines (24 loc) • 610 B
text/typescript
import { BlockCipherMode } from "./cipher-core.cjs";
//#region src/mode-ecb.d.ts
/**
* ECB Encryptor
*/
declare class ECBEncryptor extends BlockCipherMode {
processBlock(words: number[], offset: number): void;
}
/**
* ECB Decryptor
*/
declare class ECBDecryptor extends BlockCipherMode {
processBlock(words: number[], offset: number): void;
}
/**
* Electronic Codebook block mode.
*/
declare class ECB extends BlockCipherMode {
static readonly Encryptor: typeof ECBEncryptor;
static readonly Decryptor: typeof ECBDecryptor;
}
//#endregion
export { ECB };
//# sourceMappingURL=mode-ecb.d.cts.map