Installation
npm install --save @types/rijndael-js
Summary
This package contains type definitions for rijndael-js (https://github.com/Snack-X/rijndael-js#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rijndael-js.
index.d.ts
/// <reference types="node" />
export = RijndaelBlock;
declare class RijndaelBlock {
constructor(key: Buffer | string, mode: string);
encrypt(_plaintext: Buffer | string, blockSize: string, _iv: Buffer | string): Buffer;
decrypt(_ciphertext: Buffer, blockSize: string, _iv: Buffer | string): Buffer;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node
Credits
These definitions were written by Svet Nikolov.