mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
1 line
2.0 KiB
Plaintext
1 line
2.0 KiB
Plaintext
{"dependencies":[{"name":"./tweetnacl.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}}],"key":"bEu8dH22MNHmBrCTi/dmqh7v3ZY=","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 var _tweetnaclJs = 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, _tweetnaclJs.naclSecretboxOpen)(encrypted, nonce, secret);\n }\n});","lineCount":26,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"naclDecrypt"],[7,21,16,0],[7,24,16,0,"naclDecrypt"],[7,35,16,0],[8,2,1,0],[8,6,1,0,"_tweetnaclJs"],[8,18,1,0],[8,21,1,0,"require"],[8,28,1,0],[8,29,1,0,"_dependencyMap"],[8,43,1,0],[9,2,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,2,16,7],[23,11,16,16,"naclDecrypt"],[23,22,16,27,"naclDecrypt"],[23,23,16,28,"encrypted"],[23,32,16,37],[23,34,16,39,"nonce"],[23,39,16,44],[23,41,16,46,"secret"],[23,47,16,52],[23,49,16,54],[24,4,17,4],[24,11,17,11],[24,15,17,11,"naclSecretboxOpen"],[24,27,17,28],[24,28,17,28,"naclSecretboxOpen"],[24,45,17,28],[24,47,17,29,"encrypted"],[24,56,17,38],[24,58,17,40,"nonce"],[24,63,17,45],[24,65,17,47,"secret"],[24,71,17,53],[24,72,17,54],[25,2,18,0],[26,0,18,1],[26,3]],"functionMap":{"names":["<global>","naclDecrypt"],"mappings":"AAA;OCe;CDE"},"hasCjsExports":false},"type":"js/module"}]} |