node-ciphers
Version:
Lightweight AES and DES encryption library for Node.js, featuring flexible encoding, multiple cipher modes, and TypeScript support.
12 lines (8 loc) • 374 B
text/typescript
import type { BinaryLike } from 'node:crypto';
import type { DesCipherEncodingOptions } from '@/types';
import { BaseDesEncryptAndDecrypt } from './_internals/base/encrypt-and-decrypt';
export class Cfb1 extends BaseDesEncryptAndDecrypt {
constructor(key: BinaryLike, encodingOptions?: DesCipherEncodingOptions) {
super(key, 'cfb1', encodingOptions);
}
}