npm.io
1.0.2 • Published 2 years ago

@types/rijndael-js

Licence
MIT
Version
1.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Svet Nikolov.