UNPKG

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) 364 B
import type { BinaryLike } from 'node:crypto'; import type { AesCipherEncodingOptions } from '../types'; import { BaseAesEncryptAndDecrypt } from './base/encrypt-and-decrypt'; export class Cfb1 extends BaseAesEncryptAndDecrypt { constructor(key: BinaryLike, encodingOptions?: AesCipherEncodingOptions) { super(key, 'cfb1', encodingOptions); } }