mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 07:41:01 +00:00
1 line
5.0 KiB
Plaintext
1 line
5.0 KiB
Plaintext
{"dependencies":[{"name":"@noble/hashes/pbkdf2","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}}],"key":"mDHqzIVG1BieaBNqU6/iyKfKtpw=","exportNames":["*"],"imports":1}},{"name":"@noble/hashes/sha512","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":59},"end":{"line":2,"column":46,"index":105}}],"key":"KPae0By8hfhH44uVYVFRwdH9mHY=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":106},"end":{"line":3,"column":53,"index":159}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"@polkadot/wasm-crypto","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":160},"end":{"line":4,"column":56,"index":216}}],"key":"2/wMT/y5UfnEdVow79e3G5+65jw=","exportNames":["*"],"imports":1}},{"name":"../random/asU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":217},"end":{"line":5,"column":49,"index":266}}],"key":"DR9r1yI+D4jLXJldkJI9Dep2GwI=","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.pbkdf2Encode = pbkdf2Encode;\n var _nobleHashesPbkdf = require(_dependencyMap[0], \"@noble/hashes/pbkdf2\");\n var _nobleHashesSha = require(_dependencyMap[1], \"@noble/hashes/sha512\");\n var _polkadotUtil = require(_dependencyMap[2], \"@polkadot/util\");\n var _polkadotWasmCrypto = require(_dependencyMap[3], \"@polkadot/wasm-crypto\");\n var _randomAsU8aJs = require(_dependencyMap[4], \"../random/asU8a.js\");\n function pbkdf2Encode(passphrase, salt = (0, _randomAsU8aJs.randomAsU8a)(), rounds = 2048, onlyJs) {\n const u8aPass = (0, _polkadotUtil.u8aToU8a)(passphrase);\n const u8aSalt = (0, _polkadotUtil.u8aToU8a)(salt);\n return {\n password: !_polkadotUtil.hasBigInt || !onlyJs && (0, _polkadotWasmCrypto.isReady)() ? (0, _polkadotWasmCrypto.pbkdf2)(u8aPass, u8aSalt, rounds) : (0, _nobleHashesPbkdf.pbkdf2)(_nobleHashesSha.sha512, u8aPass, u8aSalt, {\n c: rounds,\n dkLen: 64\n }),\n rounds,\n salt\n };\n }\n});","lineCount":25,"map":[[7,2,6,0,"exports"],[7,9,6,0],[7,10,6,0,"pbkdf2Encode"],[7,22,6,0],[7,25,6,0,"pbkdf2Encode"],[7,37,6,0],[8,2,1,0],[8,6,1,0,"_nobleHashesPbkdf"],[8,23,1,0],[8,26,1,0,"require"],[8,33,1,0],[8,34,1,0,"_dependencyMap"],[8,48,1,0],[9,2,2,0],[9,6,2,0,"_nobleHashesSha"],[9,21,2,0],[9,24,2,0,"require"],[9,31,2,0],[9,32,2,0,"_dependencyMap"],[9,46,2,0],[10,2,3,0],[10,6,3,0,"_polkadotUtil"],[10,19,3,0],[10,22,3,0,"require"],[10,29,3,0],[10,30,3,0,"_dependencyMap"],[10,44,3,0],[11,2,4,0],[11,6,4,0,"_polkadotWasmCrypto"],[11,25,4,0],[11,28,4,0,"require"],[11,35,4,0],[11,36,4,0,"_dependencyMap"],[11,50,4,0],[12,2,5,0],[12,6,5,0,"_randomAsU8aJs"],[12,20,5,0],[12,23,5,0,"require"],[12,30,5,0],[12,31,5,0,"_dependencyMap"],[12,45,5,0],[13,2,6,7],[13,11,6,16,"pbkdf2Encode"],[13,23,6,28,"pbkdf2Encode"],[13,24,6,29,"passphrase"],[13,34,6,39],[13,36,6,41,"salt"],[13,40,6,45],[13,43,6,48],[13,47,6,48,"randomAsU8a"],[13,61,6,59],[13,62,6,59,"randomAsU8a"],[13,73,6,59],[13,75,6,60],[13,76,6,61],[13,78,6,63,"rounds"],[13,84,6,69],[13,87,6,72],[13,91,6,76],[13,93,6,78,"onlyJs"],[13,99,6,84],[13,101,6,86],[14,4,7,4],[14,10,7,10,"u8aPass"],[14,17,7,17],[14,20,7,20],[14,24,7,20,"u8aToU8a"],[14,37,7,28],[14,38,7,28,"u8aToU8a"],[14,46,7,28],[14,48,7,29,"passphrase"],[14,58,7,39],[14,59,7,40],[15,4,8,4],[15,10,8,10,"u8aSalt"],[15,17,8,17],[15,20,8,20],[15,24,8,20,"u8aToU8a"],[15,37,8,28],[15,38,8,28,"u8aToU8a"],[15,46,8,28],[15,48,8,29,"salt"],[15,52,8,33],[15,53,8,34],[16,4,9,4],[16,11,9,11],[17,6,10,8,"password"],[17,14,10,16],[17,16,10,18],[17,17,10,19,"hasBigInt"],[17,30,10,28],[17,31,10,28,"hasBigInt"],[17,40,10,28],[17,44,10,33],[17,45,10,34,"onlyJs"],[17,51,10,40],[17,55,10,44],[17,59,10,44,"isReady"],[17,78,10,51],[17,79,10,51,"isReady"],[17,86,10,51],[17,88,10,52],[17,89,10,54],[17,92,11,14],[17,96,11,14,"pbkdf2"],[17,115,11,20],[17,116,11,20,"pbkdf2"],[17,122,11,20],[17,124,11,21,"u8aPass"],[17,131,11,28],[17,133,11,30,"u8aSalt"],[17,140,11,37],[17,142,11,39,"rounds"],[17,148,11,45],[17,149,11,46],[17,152,12,14],[17,156,12,14,"pbkdf2Js"],[17,173,12,22],[17,174,12,22,"pbkdf2"],[17,180,12,22],[17,182,12,23,"sha512"],[17,197,12,29],[17,198,12,29,"sha512"],[17,204,12,29],[17,206,12,31,"u8aPass"],[17,213,12,38],[17,215,12,40,"u8aSalt"],[17,222,12,47],[17,224,12,49],[18,8,12,51,"c"],[18,9,12,52],[18,11,12,54,"rounds"],[18,17,12,60],[19,8,12,62,"dkLen"],[19,13,12,67],[19,15,12,69],[20,6,12,72],[20,7,12,73],[20,8,12,74],[21,6,13,8,"rounds"],[21,12,13,14],[22,6,14,8,"salt"],[23,4,15,4],[23,5,15,5],[24,2,16,0],[25,0,16,1],[25,3]],"functionMap":{"names":["<global>","pbkdf2Encode"],"mappings":"AAA;OCK;CDU"},"hasCjsExports":false},"type":"js/module"}]} |