node-ciphers
Version:
Lightweight AES and DES encryption library for Node.js, featuring flexible encoding, multiple cipher modes, and TypeScript support.
17 lines (15 loc) • 397 B
JavaScript
import { getCiphers } from "node:crypto";
//#region src/_internals/constants.ts
const availableCiphers = getCiphers();
const defaultEncodingOptions = {
authTag: "hex",
decryptInput: "hex",
decryptOutput: "utf-8",
encryptInput: "utf-8",
encryptOutput: "hex",
iv: "hex",
key: "utf-8"
};
//#endregion
export { availableCiphers, defaultEncodingOptions };
//# sourceMappingURL=constants.js.map