padding-oracle-attacker
Version:
CLI tool and library to execute padding oracle attacks easily
10 lines (9 loc) • 410 B
TypeScript
/// <reference types="node" />
import { DecryptOptions } from './types';
declare function decrypt({ url, blockSize, logMode, ciphertext, isDecryptionSuccess, makeInitialRequest, alreadyFound, startFromFirstBlock, initFirstPayloadBlockWithOrigBytes, ...args }: DecryptOptions): Promise<{
blockCount: number;
totalSize: number;
foundBytes: Buffer;
interBytes: Buffer;
}>;
export default decrypt;