UNPKG

node-ciphers

Version:

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

1 lines 650 B
{"version":3,"file":"ctr.cjs","sources":["../../src/aes/ctr.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 Ctr extends BaseAesEncryptAndDecrypt {\n constructor(key: BinaryLike, encodingOptions?: AesCipherEncodingOptions) {\n super(key, 'ctr', encodingOptions);\n }\n}\n"],"names":["BaseAesEncryptAndDecrypt"],"mappings":";;;;AAMM,MAAO,GAAI,SAAQA,0CAAwB,CAAA;IAC7C,WAAA,CAAY,GAAe,EAAE,eAA0C,EAAA;AACnE,QAAA,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,eAAe,CAAC;IACtC;AACH;;;;"}