{"version":3,"sources":["jsdelivr-header.js","/npm/js-encrypt-decrypt@1.1.8/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,QAAU,QAAQ,UAElB,gBAAkB,CAAC,EAAM,EAAM,EAAQ,EAAO,EAAW,KAC7D,IAAI,EAAS,QAAQ,eAAe,EAAM,OAAO,KAAK,EAAQ,GAAY,OAAO,KAAK,EAAO,IAEzF,EAAY,EAAO,OAAO,GAI9B,OAFA,EAAY,OAAO,OAAO,CAAC,EAAW,EAAO,UAEtC,EAAU,SAAS,EAAU,EAGhC,gBAAkB,CAAC,EAAM,EAAM,EAAQ,EAAO,EAAW,KAC7D,IAAI,EAAgB,OAAO,KAAK,EAAM,GAElC,EAAW,QAAQ,iBAAiB,EAAM,OAAO,KAAK,EAAQ,GAAY,OAAO,KAAK,EAAO,IAE7F,EAAY,EAAS,OAAO,GAGhC,OAFA,EAAY,OAAO,OAAO,CAAC,EAAW,EAAS,UAExC,EAAU,UAAU,EAG7B,OAAO,QAAU,CACf,gCACA","file":"/npm/js-encrypt-decrypt@1.1.8/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/js-encrypt-decrypt@1.1.8/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","const _crypto = require('crypto');\n\nconst myEncryptWithIv = (text, algo, encKey, encIv, encFormat, txtFormat) => {\n  let cipher = _crypto.createCipheriv(algo, Buffer.from(encKey, encFormat), Buffer.from(encIv, encFormat)); \n  \n  let encrypted = cipher.update(text);\n  \n  encrypted = Buffer.concat([encrypted, cipher.final()]); \n\n  return encrypted.toString(txtFormat);\n};\n\nconst myDecryptWithIv = (text, algo, encKey, encIv, encFormat, txtFormat) => {\n  let encryptedText = Buffer.from(text, txtFormat); \n\n  let decipher = _crypto.createDecipheriv(algo, Buffer.from(encKey, encFormat), Buffer.from(encIv, encFormat)); \n    \n  let decrypted = decipher.update(encryptedText); \n  decrypted = Buffer.concat([decrypted, decipher.final()]);\n    \n  return decrypted.toString();\n};\n\nmodule.exports = {\n  myEncryptWithIv,\n  myDecryptWithIv\n}"]}