UNPKG

node-ciphers

Version:

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

16 lines (13 loc) 370 B
import { getCiphers } from 'node:crypto'; const availableCiphers = getCiphers(); const defaultEncodingOptions = { authTag: 'hex', decryptInput: 'hex', decryptOutput: 'utf-8', encryptInput: 'utf-8', encryptOutput: 'hex', iv: 'hex', key: 'utf-8', }; export { availableCiphers, defaultEncodingOptions }; //# sourceMappingURL=constants.mjs.map