UNPKG

node-ciphers

Version:

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

19 lines (15 loc) 448 B
'use strict'; const node_crypto = require('node:crypto'); const availableCiphers = node_crypto.getCiphers(); const defaultEncodingOptions = { authTag: 'hex', decryptInput: 'hex', decryptOutput: 'utf-8', encryptInput: 'utf-8', encryptOutput: 'hex', iv: 'hex', key: 'utf-8', }; exports.availableCiphers = availableCiphers; exports.defaultEncodingOptions = defaultEncodingOptions; //# sourceMappingURL=constants.cjs.map