UNPKG

node-ciphers

Version:

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

20 lines 395 B
export type * from './aes'; export type * from './des'; export type * from './options'; export type BaseEncryptResult = Result<{ data: string; iv: string; }>; export type EcbEncryptResult = Result<{ data: string; iv: null; }>; export type Result<T> = { error: unknown; ok: false; value?: never; } | { ok: true; value: T; }; //# sourceMappingURL=index.d.ts.map