You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
459 B
12 lines
459 B
import { ModeOfOperation } from "./mode.js"; |
|
export declare class CTR extends ModeOfOperation { |
|
#private; |
|
constructor(key: Uint8Array, initialValue?: number | Uint8Array); |
|
get counter(): Uint8Array; |
|
setCounterValue(value: number): void; |
|
setCounterBytes(value: Uint8Array): void; |
|
increment(): void; |
|
encrypt(plaintext: Uint8Array): Uint8Array; |
|
decrypt(ciphertext: Uint8Array): Uint8Array; |
|
} |
|
//# sourceMappingURL=mode-ctr.d.ts.map
|