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":"ofb.cjs","sources":["../../src/des/ofb.ts"],"sourcesContent":["import type { BinaryLike } from 'node:crypto';\n\nimport type { DesCipherEncodingOptions } from '../types';\n\nimport { BaseDesEncryptAndDecrypt } from './base/encrypt-and-decrypt';\n\nexport class Ofb extends BaseDesEncryptAndDecrypt {\n constructor(key: BinaryLike, encodingOptions?: DesCipherEncodingOptions) {\n super(key, 'ofb', encodingOptions);\n }\n}\n"],"names":["BaseDesEncryptAndDecrypt"],"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;;;;"}