mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
1 line
2.3 KiB
Plaintext
1 line
2.3 KiB
Plaintext
{"dependencies":[{"name":"./tweetnacl.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":23,"index":135},"end":{"line":4,"column":48,"index":160}}],"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.naclDecrypt = naclDecrypt;\n const tweetnacl_js_1 = require(_dependencyMap[0], \"./tweetnacl.js\");\n /**\n * @name naclDecrypt\n * @summary Decrypts a message using the supplied secretKey and nonce\n * @description\n * Returns an decrypted message, using the `secret` and `nonce`.\n * @example\n * <BR>\n *\n * ```javascript\n * import { naclDecrypt } from '@polkadot/util-crypto';\n *\n * naclDecrypt([...], [...], [...]); // => [...]\n * ```\n */\n function naclDecrypt(encrypted, nonce, secret) {\n return (0, tweetnacl_js_1.naclSecretboxOpen)(encrypted, nonce, secret);\n }\n});","lineCount":26,"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,"naclDecrypt"],[7,21,3,19],[7,24,3,22,"naclDecrypt"],[7,35,3,33],[8,2,4,0],[8,8,4,6,"tweetnacl_js_1"],[8,22,4,20],[8,25,4,23,"require"],[8,32,4,30],[8,33,4,30,"_dependencyMap"],[8,47,4,30],[8,68,4,47],[8,69,4,48],[9,2,5,0],[10,0,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,2,19,0],[23,11,19,9,"naclDecrypt"],[23,22,19,20,"naclDecrypt"],[23,23,19,21,"encrypted"],[23,32,19,30],[23,34,19,32,"nonce"],[23,39,19,37],[23,41,19,39,"secret"],[23,47,19,45],[23,49,19,47],[24,4,20,4],[24,11,20,11],[24,12,20,12],[24,13,20,13],[24,15,20,15,"tweetnacl_js_1"],[24,29,20,29],[24,30,20,30,"naclSecretboxOpen"],[24,47,20,47],[24,49,20,49,"encrypted"],[24,58,20,58],[24,60,20,60,"nonce"],[24,65,20,65],[24,67,20,67,"secret"],[24,73,20,73],[24,74,20,74],[25,2,21,0],[26,0,21,1],[26,3]],"functionMap":{"names":["<global>","naclDecrypt"],"mappings":"AAA;ACkB;CDE"},"hasCjsExports":true},"type":"js/module"}]} |