UNPKG

crypto-ts

Version:

Typescript library of crypto standards.

17 lines (16 loc) 576 B
import { BlockCipherModeAlgorithm } from './BlockCipherModeAlgorithm'; export declare class CBCDecryptor extends BlockCipherModeAlgorithm { _prevBlock: Array<number> | undefined; /** * Processes the data block at offset. * * @param words The data words to operate on. * @param offset The offset where the block starts. * * @example * * mode.processBlock(data.words, offset); */ processBlock(words: Array<number>, offset: number): void; xorBlock(words: Array<number>, offset: number, blockSize: number): void; }