node-ciphers
Version:
Lightweight AES and DES encryption library for Node.js, featuring flexible encoding, multiple cipher modes, and TypeScript support.
1 lines • 685 B
Source Map (JSON)
{"version":3,"file":"constants.mjs","sources":["../src/constants.ts"],"sourcesContent":["import { getCiphers } from 'node:crypto';\n\nexport const availableCiphers: readonly string[] = getCiphers();\nexport const defaultEncodingOptions = {\n authTag: 'hex',\n decryptInput: 'hex',\n decryptOutput: 'utf-8',\n encryptInput: 'utf-8',\n encryptOutput: 'hex',\n iv: 'hex',\n key: 'utf-8',\n} as const;\n"],"names":[],"mappings":";;AAEO,MAAM,gBAAgB,GAAsB,UAAU;AACtD,MAAM,sBAAsB,GAAG;AAClC,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,YAAY,EAAE,KAAK;AACnB,IAAA,aAAa,EAAE,OAAO;AACtB,IAAA,YAAY,EAAE,OAAO;AACrB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,EAAE,EAAE,KAAK;AACT,IAAA,GAAG,EAAE,OAAO;;;;;"}