UNPKG

node-ciphers

Version:

Lightweight AES and DES encryption library for Node.js, featuring flexible encoding, multiple cipher modes, and TypeScript support.

1 lines 621 B
{"version":3,"file":"cbc.mjs","sources":["../../src/aes/cbc.ts"],"sourcesContent":["import type { BinaryLike } from 'node:crypto';\n\nimport type { AesCipherEncodingOptions } from '../types';\n\nimport { BaseAesEncryptAndDecrypt } from './base/encrypt-and-decrypt';\n\nexport class Cbc extends BaseAesEncryptAndDecrypt {\n constructor(key: BinaryLike, encodingOptions?: AesCipherEncodingOptions) {\n super(key, 'cbc', encodingOptions);\n }\n}\n"],"names":[],"mappings":";;AAMM,MAAO,GAAI,SAAQ,wBAAwB,CAAA;IAC7C,WAAA,CAAY,GAAe,EAAE,eAA0C,EAAA;AACnE,QAAA,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,eAAe,CAAC;IACtC;AACH;;;;"}