Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/b4/030e74b5756fa702c0c7e09bdb1ca3c8fd4b79b54c84db8ee213036c052c3b1aece9c9
T
2025-11-07 20:14:32 +00:00

1 line
3.2 KiB
Plaintext

{"dependencies":[{"name":"../random/asU8a.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":131},"end":{"line":4,"column":48,"index":160}}],"key":"2ZSy5c3i9e+6e3ao+1xxUHMwhTg=","exportNames":["*"],"imports":1}},{"name":"./tweetnacl.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":23,"index":185},"end":{"line":5,"column":48,"index":210}}],"key":"syY+anY7mApUI/b8gV91BzpQysA=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.naclEncrypt = naclEncrypt;\n const asU8a_js_1 = require(_dependencyMap[0], \"../random/asU8a.js\");\n const tweetnacl_js_1 = require(_dependencyMap[1], \"./tweetnacl.js\");\n /**\n * @name naclEncrypt\n * @summary Encrypts a message using the supplied secretKey and nonce\n * @description\n * Returns an encrypted message, using the `secretKey` and `nonce`. If the `nonce` was not supplied, a random value is generated.\n * @example\n * <BR>\n *\n * ```javascript\n * import { naclEncrypt } from '@polkadot/util-crypto';\n *\n * naclEncrypt([...], [...]); // => [...]\n * ```\n */\n function naclEncrypt(message, secret, nonce = (0, asU8a_js_1.randomAsU8a)(24)) {\n return {\n encrypted: (0, tweetnacl_js_1.naclSecretbox)(message, nonce, secret),\n nonce\n };\n }\n});","lineCount":30,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"naclEncrypt"],[7,21,3,19],[7,24,3,22,"naclEncrypt"],[7,35,3,33],[8,2,4,0],[8,8,4,6,"asU8a_js_1"],[8,18,4,16],[8,21,4,19,"require"],[8,28,4,26],[8,29,4,26,"_dependencyMap"],[8,43,4,26],[8,68,4,47],[8,69,4,48],[9,2,5,0],[9,8,5,6,"tweetnacl_js_1"],[9,22,5,20],[9,25,5,23,"require"],[9,32,5,30],[9,33,5,30,"_dependencyMap"],[9,47,5,30],[9,68,5,47],[9,69,5,48],[10,2,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,0,14,0],[19,0,15,0],[20,0,16,0],[21,0,17,0],[22,0,18,0],[23,0,19,0],[24,2,20,0],[24,11,20,9,"naclEncrypt"],[24,22,20,20,"naclEncrypt"],[24,23,20,21,"message"],[24,30,20,28],[24,32,20,30,"secret"],[24,38,20,36],[24,40,20,38,"nonce"],[24,45,20,43],[24,48,20,46],[24,49,20,47],[24,50,20,48],[24,52,20,50,"asU8a_js_1"],[24,62,20,60],[24,63,20,61,"randomAsU8a"],[24,74,20,72],[24,76,20,74],[24,78,20,76],[24,79,20,77],[24,81,20,79],[25,4,21,4],[25,11,21,11],[26,6,22,8,"encrypted"],[26,15,22,17],[26,17,22,19],[26,18,22,20],[26,19,22,21],[26,21,22,23,"tweetnacl_js_1"],[26,35,22,37],[26,36,22,38,"naclSecretbox"],[26,49,22,51],[26,51,22,53,"message"],[26,58,22,60],[26,60,22,62,"nonce"],[26,65,22,67],[26,67,22,69,"secret"],[26,73,22,75],[26,74,22,76],[27,6,23,8,"nonce"],[28,4,24,4],[28,5,24,5],[29,2,25,0],[30,0,25,1],[30,3]],"functionMap":{"names":["<global>","naclEncrypt"],"mappings":"AAA;ACmB;CDK"},"hasCjsExports":true},"type":"js/module"}]}