mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 11:11:01 +00:00
1 line
25 KiB
Plaintext
1 line
25 KiB
Plaintext
{"dependencies":[{"name":"@stablelib/chacha","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":15,"index":177},"end":{"line":5,"column":43,"index":205}}],"key":"BS4gaAVn4vHwcgUrOlL/FWP6AnY=","exportNames":["*"],"imports":1}},{"name":"@stablelib/poly1305","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":17,"index":224},"end":{"line":6,"column":47,"index":254}}],"key":"rHTgf/KJ4UUAzOA2pwbJoImnRCY=","exportNames":["*"],"imports":1}},{"name":"@stablelib/wipe","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":7,"column":13,"index":269},"end":{"line":7,"column":39,"index":295}}],"key":"TyIdzPP7juhR0JJ+s4X6EUIb7Vg=","exportNames":["*"],"imports":1}},{"name":"@stablelib/binary","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":8,"column":15,"index":312},"end":{"line":8,"column":43,"index":340}}],"key":"YhbOUtcfas8HB9QOUT8p9FPcaiA=","exportNames":["*"],"imports":1}},{"name":"@stablelib/constant-time","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":9,"column":22,"index":364},"end":{"line":9,"column":57,"index":399}}],"key":"oEcXRtjtRb9XyedpJidl7q8CaKw=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n // Copyright (C) 2016 Dmitry Chestnykh\n // MIT License. See LICENSE file for details.\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n var chacha_1 = require(_dependencyMap[0], \"@stablelib/chacha\");\n var poly1305_1 = require(_dependencyMap[1], \"@stablelib/poly1305\");\n var wipe_1 = require(_dependencyMap[2], \"@stablelib/wipe\");\n var binary_1 = require(_dependencyMap[3], \"@stablelib/binary\");\n var constant_time_1 = require(_dependencyMap[4], \"@stablelib/constant-time\");\n exports.KEY_LENGTH = 32;\n exports.NONCE_LENGTH = 12;\n exports.TAG_LENGTH = 16;\n var ZEROS = new Uint8Array(16);\n /**\n * ChaCha20-Poly1305 Authenticated Encryption with Associated Data.\n *\n * Defined in RFC7539.\n */\n var ChaCha20Poly1305 = /** @class */function () {\n /**\n * Creates a new instance with the given 32-byte key.\n */\n function ChaCha20Poly1305(key) {\n this.nonceLength = exports.NONCE_LENGTH;\n this.tagLength = exports.TAG_LENGTH;\n if (key.length !== exports.KEY_LENGTH) {\n throw new Error(\"ChaCha20Poly1305 needs 32-byte key\");\n }\n // Copy key.\n this._key = new Uint8Array(key);\n }\n /**\n * Encrypts and authenticates plaintext, authenticates associated data,\n * and returns sealed ciphertext, which includes authentication tag.\n *\n * RFC7539 specifies 12 bytes for nonce. It may be this 12-byte nonce\n * (\"IV\"), or full 16-byte counter (called \"32-bit fixed-common part\")\n * and nonce.\n *\n * If dst is given (it must be the size of plaintext + the size of tag\n * length) the result will be put into it. Dst and plaintext must not\n * overlap.\n */\n ChaCha20Poly1305.prototype.seal = function (nonce, plaintext, associatedData, dst) {\n if (nonce.length > 16) {\n throw new Error(\"ChaCha20Poly1305: incorrect nonce length\");\n }\n // Allocate space for counter, and set nonce as last bytes of it.\n var counter = new Uint8Array(16);\n counter.set(nonce, counter.length - nonce.length);\n // Generate authentication key by taking first 32-bytes of stream.\n // We pass full counter, which has 12-byte nonce and 4-byte block counter,\n // and it will get incremented after generating the block, which is\n // exactly what we need: we only use the first 32 bytes of 64-byte\n // ChaCha block and discard the next 32 bytes.\n var authKey = new Uint8Array(32);\n chacha_1.stream(this._key, counter, authKey, 4);\n // Allocate space for sealed ciphertext.\n var resultLength = plaintext.length + this.tagLength;\n var result;\n if (dst) {\n if (dst.length !== resultLength) {\n throw new Error(\"ChaCha20Poly1305: incorrect destination length\");\n }\n result = dst;\n } else {\n result = new Uint8Array(resultLength);\n }\n // Encrypt plaintext.\n chacha_1.streamXOR(this._key, counter, plaintext, result, 4);\n // Authenticate.\n // XXX: can \"simplify\" here: pass full result (which is already padded\n // due to zeroes prepared for tag), and ciphertext length instead of\n // subarray of result.\n this._authenticate(result.subarray(result.length - this.tagLength, result.length), authKey, result.subarray(0, result.length - this.tagLength), associatedData);\n // Cleanup.\n wipe_1.wipe(counter);\n return result;\n };\n /**\n * Authenticates sealed ciphertext (which includes authentication tag) and\n * associated data, decrypts ciphertext and returns decrypted plaintext.\n *\n * RFC7539 specifies 12 bytes for nonce. It may be this 12-byte nonce\n * (\"IV\"), or full 16-byte counter (called \"32-bit fixed-common part\")\n * and nonce.\n *\n * If authentication fails, it returns null.\n *\n * If dst is given (it must be of ciphertext length minus tag length),\n * the result will be put into it. Dst and plaintext must not overlap.\n */\n ChaCha20Poly1305.prototype.open = function (nonce, sealed, associatedData, dst) {\n if (nonce.length > 16) {\n throw new Error(\"ChaCha20Poly1305: incorrect nonce length\");\n }\n // Sealed ciphertext should at least contain tag.\n if (sealed.length < this.tagLength) {\n // TODO(dchest): should we throw here instead?\n return null;\n }\n // Allocate space for counter, and set nonce as last bytes of it.\n var counter = new Uint8Array(16);\n counter.set(nonce, counter.length - nonce.length);\n // Generate authentication key by taking first 32-bytes of stream.\n var authKey = new Uint8Array(32);\n chacha_1.stream(this._key, counter, authKey, 4);\n // Authenticate.\n // XXX: can simplify and avoid allocation: since authenticate()\n // already allocates tag (from Poly1305.digest(), it can return)\n // it instead of copying to calculatedTag. But then in seal()\n // we'll need to copy it.\n var calculatedTag = new Uint8Array(this.tagLength);\n this._authenticate(calculatedTag, authKey, sealed.subarray(0, sealed.length - this.tagLength), associatedData);\n // Constant-time compare tags and return null if they differ.\n if (!constant_time_1.equal(calculatedTag, sealed.subarray(sealed.length - this.tagLength, sealed.length))) {\n return null;\n }\n // Allocate space for decrypted plaintext.\n var resultLength = sealed.length - this.tagLength;\n var result;\n if (dst) {\n if (dst.length !== resultLength) {\n throw new Error(\"ChaCha20Poly1305: incorrect destination length\");\n }\n result = dst;\n } else {\n result = new Uint8Array(resultLength);\n }\n // Decrypt.\n chacha_1.streamXOR(this._key, counter, sealed.subarray(0, sealed.length - this.tagLength), result, 4);\n // Cleanup.\n wipe_1.wipe(counter);\n return result;\n };\n ChaCha20Poly1305.prototype.clean = function () {\n wipe_1.wipe(this._key);\n return this;\n };\n ChaCha20Poly1305.prototype._authenticate = function (tagOut, authKey, ciphertext, associatedData) {\n // Initialize Poly1305 with authKey.\n var h = new poly1305_1.Poly1305(authKey);\n // Authenticate padded associated data.\n if (associatedData) {\n h.update(associatedData);\n if (associatedData.length % 16 > 0) {\n h.update(ZEROS.subarray(associatedData.length % 16));\n }\n }\n // Authenticate padded ciphertext.\n h.update(ciphertext);\n if (ciphertext.length % 16 > 0) {\n h.update(ZEROS.subarray(ciphertext.length % 16));\n }\n // Authenticate length of associated data.\n // XXX: can avoid allocation here?\n var length = new Uint8Array(8);\n if (associatedData) {\n binary_1.writeUint64LE(associatedData.length, length);\n }\n h.update(length);\n // Authenticate length of ciphertext.\n binary_1.writeUint64LE(ciphertext.length, length);\n h.update(length);\n // Get tag and copy it into tagOut.\n var tag = h.digest();\n for (var i = 0; i < tag.length; i++) {\n tagOut[i] = tag[i];\n }\n // Cleanup.\n h.clean();\n wipe_1.wipe(tag);\n wipe_1.wipe(length);\n };\n return ChaCha20Poly1305;\n }();\n exports.ChaCha20Poly1305 = ChaCha20Poly1305;\n});","lineCount":182,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0],[5,2,3,0],[6,2,4,0,"Object"],[6,8,4,6],[6,9,4,7,"defineProperty"],[6,23,4,21],[6,24,4,22,"exports"],[6,31,4,29],[6,33,4,31],[6,45,4,43],[6,47,4,45],[7,4,4,47,"value"],[7,9,4,52],[7,11,4,54],[8,2,4,59],[8,3,4,60],[8,4,4,61],[9,2,5,0],[9,6,5,4,"chacha_1"],[9,14,5,12],[9,17,5,15,"require"],[9,24,5,22],[9,25,5,22,"_dependencyMap"],[9,39,5,22],[9,63,5,42],[9,64,5,43],[10,2,6,0],[10,6,6,4,"poly1305_1"],[10,16,6,14],[10,19,6,17,"require"],[10,26,6,24],[10,27,6,24,"_dependencyMap"],[10,41,6,24],[10,67,6,46],[10,68,6,47],[11,2,7,0],[11,6,7,4,"wipe_1"],[11,12,7,10],[11,15,7,13,"require"],[11,22,7,20],[11,23,7,20,"_dependencyMap"],[11,37,7,20],[11,59,7,38],[11,60,7,39],[12,2,8,0],[12,6,8,4,"binary_1"],[12,14,8,12],[12,17,8,15,"require"],[12,24,8,22],[12,25,8,22,"_dependencyMap"],[12,39,8,22],[12,63,8,42],[12,64,8,43],[13,2,9,0],[13,6,9,4,"constant_time_1"],[13,21,9,19],[13,24,9,22,"require"],[13,31,9,29],[13,32,9,29,"_dependencyMap"],[13,46,9,29],[13,77,9,56],[13,78,9,57],[14,2,10,0,"exports"],[14,9,10,7],[14,10,10,8,"KEY_LENGTH"],[14,20,10,18],[14,23,10,21],[14,25,10,23],[15,2,11,0,"exports"],[15,9,11,7],[15,10,11,8,"NONCE_LENGTH"],[15,22,11,20],[15,25,11,23],[15,27,11,25],[16,2,12,0,"exports"],[16,9,12,7],[16,10,12,8,"TAG_LENGTH"],[16,20,12,18],[16,23,12,21],[16,25,12,23],[17,2,13,0],[17,6,13,4,"ZEROS"],[17,11,13,9],[17,14,13,12],[17,18,13,16,"Uint8Array"],[17,28,13,26],[17,29,13,27],[17,31,13,29],[17,32,13,30],[18,2,14,0],[19,0,15,0],[20,0,16,0],[21,0,17,0],[22,0,18,0],[23,2,19,0],[23,6,19,4,"ChaCha20Poly1305"],[23,22,19,20],[23,25,19,23],[23,38,19,38],[23,50,19,50],[24,4,20,4],[25,0,21,0],[26,0,22,0],[27,4,23,4],[27,13,23,13,"ChaCha20Poly1305"],[27,29,23,29,"ChaCha20Poly1305"],[27,30,23,30,"key"],[27,33,23,33],[27,35,23,35],[28,6,24,8],[28,10,24,12],[28,11,24,13,"nonceLength"],[28,22,24,24],[28,25,24,27,"exports"],[28,32,24,34],[28,33,24,35,"NONCE_LENGTH"],[28,45,24,47],[29,6,25,8],[29,10,25,12],[29,11,25,13,"tagLength"],[29,20,25,22],[29,23,25,25,"exports"],[29,30,25,32],[29,31,25,33,"TAG_LENGTH"],[29,41,25,43],[30,6,26,8],[30,10,26,12,"key"],[30,13,26,15],[30,14,26,16,"length"],[30,20,26,22],[30,25,26,27,"exports"],[30,32,26,34],[30,33,26,35,"KEY_LENGTH"],[30,43,26,45],[30,45,26,47],[31,8,27,12],[31,14,27,18],[31,18,27,22,"Error"],[31,23,27,27],[31,24,27,28],[31,60,27,64],[31,61,27,65],[32,6,28,8],[33,6,29,8],[34,6,30,8],[34,10,30,12],[34,11,30,13,"_key"],[34,15,30,17],[34,18,30,20],[34,22,30,24,"Uint8Array"],[34,32,30,34],[34,33,30,35,"key"],[34,36,30,38],[34,37,30,39],[35,4,31,4],[36,4,32,4],[37,0,33,0],[38,0,34,0],[39,0,35,0],[40,0,36,0],[41,0,37,0],[42,0,38,0],[43,0,39,0],[44,0,40,0],[45,0,41,0],[46,0,42,0],[47,0,43,0],[48,4,44,4,"ChaCha20Poly1305"],[48,20,44,20],[48,21,44,21,"prototype"],[48,30,44,30],[48,31,44,31,"seal"],[48,35,44,35],[48,38,44,38],[48,48,44,48,"nonce"],[48,53,44,53],[48,55,44,55,"plaintext"],[48,64,44,64],[48,66,44,66,"associatedData"],[48,80,44,80],[48,82,44,82,"dst"],[48,85,44,85],[48,87,44,87],[49,6,45,8],[49,10,45,12,"nonce"],[49,15,45,17],[49,16,45,18,"length"],[49,22,45,24],[49,25,45,27],[49,27,45,29],[49,29,45,31],[50,8,46,12],[50,14,46,18],[50,18,46,22,"Error"],[50,23,46,27],[50,24,46,28],[50,66,46,70],[50,67,46,71],[51,6,47,8],[52,6,48,8],[53,6,49,8],[53,10,49,12,"counter"],[53,17,49,19],[53,20,49,22],[53,24,49,26,"Uint8Array"],[53,34,49,36],[53,35,49,37],[53,37,49,39],[53,38,49,40],[54,6,50,8,"counter"],[54,13,50,15],[54,14,50,16,"set"],[54,17,50,19],[54,18,50,20,"nonce"],[54,23,50,25],[54,25,50,27,"counter"],[54,32,50,34],[54,33,50,35,"length"],[54,39,50,41],[54,42,50,44,"nonce"],[54,47,50,49],[54,48,50,50,"length"],[54,54,50,56],[54,55,50,57],[55,6,51,8],[56,6,52,8],[57,6,53,8],[58,6,54,8],[59,6,55,8],[60,6,56,8],[60,10,56,12,"authKey"],[60,17,56,19],[60,20,56,22],[60,24,56,26,"Uint8Array"],[60,34,56,36],[60,35,56,37],[60,37,56,39],[60,38,56,40],[61,6,57,8,"chacha_1"],[61,14,57,16],[61,15,57,17,"stream"],[61,21,57,23],[61,22,57,24],[61,26,57,28],[61,27,57,29,"_key"],[61,31,57,33],[61,33,57,35,"counter"],[61,40,57,42],[61,42,57,44,"authKey"],[61,49,57,51],[61,51,57,53],[61,52,57,54],[61,53,57,55],[62,6,58,8],[63,6,59,8],[63,10,59,12,"resultLength"],[63,22,59,24],[63,25,59,27,"plaintext"],[63,34,59,36],[63,35,59,37,"length"],[63,41,59,43],[63,44,59,46],[63,48,59,50],[63,49,59,51,"tagLength"],[63,58,59,60],[64,6,60,8],[64,10,60,12,"result"],[64,16,60,18],[65,6,61,8],[65,10,61,12,"dst"],[65,13,61,15],[65,15,61,17],[66,8,62,12],[66,12,62,16,"dst"],[66,15,62,19],[66,16,62,20,"length"],[66,22,62,26],[66,27,62,31,"resultLength"],[66,39,62,43],[66,41,62,45],[67,10,63,16],[67,16,63,22],[67,20,63,26,"Error"],[67,25,63,31],[67,26,63,32],[67,74,63,80],[67,75,63,81],[68,8,64,12],[69,8,65,12,"result"],[69,14,65,18],[69,17,65,21,"dst"],[69,20,65,24],[70,6,66,8],[70,7,66,9],[70,13,67,13],[71,8,68,12,"result"],[71,14,68,18],[71,17,68,21],[71,21,68,25,"Uint8Array"],[71,31,68,35],[71,32,68,36,"resultLength"],[71,44,68,48],[71,45,68,49],[72,6,69,8],[73,6,70,8],[74,6,71,8,"chacha_1"],[74,14,71,16],[74,15,71,17,"streamXOR"],[74,24,71,26],[74,25,71,27],[74,29,71,31],[74,30,71,32,"_key"],[74,34,71,36],[74,36,71,38,"counter"],[74,43,71,45],[74,45,71,47,"plaintext"],[74,54,71,56],[74,56,71,58,"result"],[74,62,71,64],[74,64,71,66],[74,65,71,67],[74,66,71,68],[75,6,72,8],[76,6,73,8],[77,6,74,8],[78,6,75,8],[79,6,76,8],[79,10,76,12],[79,11,76,13,"_authenticate"],[79,24,76,26],[79,25,76,27,"result"],[79,31,76,33],[79,32,76,34,"subarray"],[79,40,76,42],[79,41,76,43,"result"],[79,47,76,49],[79,48,76,50,"length"],[79,54,76,56],[79,57,76,59],[79,61,76,63],[79,62,76,64,"tagLength"],[79,71,76,73],[79,73,76,75,"result"],[79,79,76,81],[79,80,76,82,"length"],[79,86,76,88],[79,87,76,89],[79,89,76,91,"authKey"],[79,96,76,98],[79,98,76,100,"result"],[79,104,76,106],[79,105,76,107,"subarray"],[79,113,76,115],[79,114,76,116],[79,115,76,117],[79,117,76,119,"result"],[79,123,76,125],[79,124,76,126,"length"],[79,130,76,132],[79,133,76,135],[79,137,76,139],[79,138,76,140,"tagLength"],[79,147,76,149],[79,148,76,150],[79,150,76,152,"associatedData"],[79,164,76,166],[79,165,76,167],[80,6,77,8],[81,6,78,8,"wipe_1"],[81,12,78,14],[81,13,78,15,"wipe"],[81,17,78,19],[81,18,78,20,"counter"],[81,25,78,27],[81,26,78,28],[82,6,79,8],[82,13,79,15,"result"],[82,19,79,21],[83,4,80,4],[83,5,80,5],[84,4,81,4],[85,0,82,0],[86,0,83,0],[87,0,84,0],[88,0,85,0],[89,0,86,0],[90,0,87,0],[91,0,88,0],[92,0,89,0],[93,0,90,0],[94,0,91,0],[95,0,92,0],[96,0,93,0],[97,4,94,4,"ChaCha20Poly1305"],[97,20,94,20],[97,21,94,21,"prototype"],[97,30,94,30],[97,31,94,31,"open"],[97,35,94,35],[97,38,94,38],[97,48,94,48,"nonce"],[97,53,94,53],[97,55,94,55,"sealed"],[97,61,94,61],[97,63,94,63,"associatedData"],[97,77,94,77],[97,79,94,79,"dst"],[97,82,94,82],[97,84,94,84],[98,6,95,8],[98,10,95,12,"nonce"],[98,15,95,17],[98,16,95,18,"length"],[98,22,95,24],[98,25,95,27],[98,27,95,29],[98,29,95,31],[99,8,96,12],[99,14,96,18],[99,18,96,22,"Error"],[99,23,96,27],[99,24,96,28],[99,66,96,70],[99,67,96,71],[100,6,97,8],[101,6,98,8],[102,6,99,8],[102,10,99,12,"sealed"],[102,16,99,18],[102,17,99,19,"length"],[102,23,99,25],[102,26,99,28],[102,30,99,32],[102,31,99,33,"tagLength"],[102,40,99,42],[102,42,99,44],[103,8,100,12],[104,8,101,12],[104,15,101,19],[104,19,101,23],[105,6,102,8],[106,6,103,8],[107,6,104,8],[107,10,104,12,"counter"],[107,17,104,19],[107,20,104,22],[107,24,104,26,"Uint8Array"],[107,34,104,36],[107,35,104,37],[107,37,104,39],[107,38,104,40],[108,6,105,8,"counter"],[108,13,105,15],[108,14,105,16,"set"],[108,17,105,19],[108,18,105,20,"nonce"],[108,23,105,25],[108,25,105,27,"counter"],[108,32,105,34],[108,33,105,35,"length"],[108,39,105,41],[108,42,105,44,"nonce"],[108,47,105,49],[108,48,105,50,"length"],[108,54,105,56],[108,55,105,57],[109,6,106,8],[110,6,107,8],[110,10,107,12,"authKey"],[110,17,107,19],[110,20,107,22],[110,24,107,26,"Uint8Array"],[110,34,107,36],[110,35,107,37],[110,37,107,39],[110,38,107,40],[111,6,108,8,"chacha_1"],[111,14,108,16],[111,15,108,17,"stream"],[111,21,108,23],[111,22,108,24],[111,26,108,28],[111,27,108,29,"_key"],[111,31,108,33],[111,33,108,35,"counter"],[111,40,108,42],[111,42,108,44,"authKey"],[111,49,108,51],[111,51,108,53],[111,52,108,54],[111,53,108,55],[112,6,109,8],[113,6,110,8],[114,6,111,8],[115,6,112,8],[116,6,113,8],[117,6,114,8],[117,10,114,12,"calculatedTag"],[117,23,114,25],[117,26,114,28],[117,30,114,32,"Uint8Array"],[117,40,114,42],[117,41,114,43],[117,45,114,47],[117,46,114,48,"tagLength"],[117,55,114,57],[117,56,114,58],[118,6,115,8],[118,10,115,12],[118,11,115,13,"_authenticate"],[118,24,115,26],[118,25,115,27,"calculatedTag"],[118,38,115,40],[118,40,115,42,"authKey"],[118,47,115,49],[118,49,115,51,"sealed"],[118,55,115,57],[118,56,115,58,"subarray"],[118,64,115,66],[118,65,115,67],[118,66,115,68],[118,68,115,70,"sealed"],[118,74,115,76],[118,75,115,77,"length"],[118,81,115,83],[118,84,115,86],[118,88,115,90],[118,89,115,91,"tagLength"],[118,98,115,100],[118,99,115,101],[118,101,115,103,"associatedData"],[118,115,115,117],[118,116,115,118],[119,6,116,8],[120,6,117,8],[120,10,117,12],[120,11,117,13,"constant_time_1"],[120,26,117,28],[120,27,117,29,"equal"],[120,32,117,34],[120,33,117,35,"calculatedTag"],[120,46,117,48],[120,48,117,50,"sealed"],[120,54,117,56],[120,55,117,57,"subarray"],[120,63,117,65],[120,64,117,66,"sealed"],[120,70,117,72],[120,71,117,73,"length"],[120,77,117,79],[120,80,117,82],[120,84,117,86],[120,85,117,87,"tagLength"],[120,94,117,96],[120,96,117,98,"sealed"],[120,102,117,104],[120,103,117,105,"length"],[120,109,117,111],[120,110,117,112],[120,111,117,113],[120,113,117,115],[121,8,118,12],[121,15,118,19],[121,19,118,23],[122,6,119,8],[123,6,120,8],[124,6,121,8],[124,10,121,12,"resultLength"],[124,22,121,24],[124,25,121,27,"sealed"],[124,31,121,33],[124,32,121,34,"length"],[124,38,121,40],[124,41,121,43],[124,45,121,47],[124,46,121,48,"tagLength"],[124,55,121,57],[125,6,122,8],[125,10,122,12,"result"],[125,16,122,18],[126,6,123,8],[126,10,123,12,"dst"],[126,13,123,15],[126,15,123,17],[127,8,124,12],[127,12,124,16,"dst"],[127,15,124,19],[127,16,124,20,"length"],[127,22,124,26],[127,27,124,31,"resultLength"],[127,39,124,43],[127,41,124,45],[128,10,125,16],[128,16,125,22],[128,20,125,26,"Error"],[128,25,125,31],[128,26,125,32],[128,74,125,80],[128,75,125,81],[129,8,126,12],[130,8,127,12,"result"],[130,14,127,18],[130,17,127,21,"dst"],[130,20,127,24],[131,6,128,8],[131,7,128,9],[131,13,129,13],[132,8,130,12,"result"],[132,14,130,18],[132,17,130,21],[132,21,130,25,"Uint8Array"],[132,31,130,35],[132,32,130,36,"resultLength"],[132,44,130,48],[132,45,130,49],[133,6,131,8],[134,6,132,8],[135,6,133,8,"chacha_1"],[135,14,133,16],[135,15,133,17,"streamXOR"],[135,24,133,26],[135,25,133,27],[135,29,133,31],[135,30,133,32,"_key"],[135,34,133,36],[135,36,133,38,"counter"],[135,43,133,45],[135,45,133,47,"sealed"],[135,51,133,53],[135,52,133,54,"subarray"],[135,60,133,62],[135,61,133,63],[135,62,133,64],[135,64,133,66,"sealed"],[135,70,133,72],[135,71,133,73,"length"],[135,77,133,79],[135,80,133,82],[135,84,133,86],[135,85,133,87,"tagLength"],[135,94,133,96],[135,95,133,97],[135,97,133,99,"result"],[135,103,133,105],[135,105,133,107],[135,106,133,108],[135,107,133,109],[136,6,134,8],[137,6,135,8,"wipe_1"],[137,12,135,14],[137,13,135,15,"wipe"],[137,17,135,19],[137,18,135,20,"counter"],[137,25,135,27],[137,26,135,28],[138,6,136,8],[138,13,136,15,"result"],[138,19,136,21],[139,4,137,4],[139,5,137,5],[140,4,138,4,"ChaCha20Poly1305"],[140,20,138,20],[140,21,138,21,"prototype"],[140,30,138,30],[140,31,138,31,"clean"],[140,36,138,36],[140,39,138,39],[140,51,138,51],[141,6,139,8,"wipe_1"],[141,12,139,14],[141,13,139,15,"wipe"],[141,17,139,19],[141,18,139,20],[141,22,139,24],[141,23,139,25,"_key"],[141,27,139,29],[141,28,139,30],[142,6,140,8],[142,13,140,15],[142,17,140,19],[143,4,141,4],[143,5,141,5],[144,4,142,4,"ChaCha20Poly1305"],[144,20,142,20],[144,21,142,21,"prototype"],[144,30,142,30],[144,31,142,31,"_authenticate"],[144,44,142,44],[144,47,142,47],[144,57,142,57,"tagOut"],[144,63,142,63],[144,65,142,65,"authKey"],[144,72,142,72],[144,74,142,74,"ciphertext"],[144,84,142,84],[144,86,142,86,"associatedData"],[144,100,142,100],[144,102,142,102],[145,6,143,8],[146,6,144,8],[146,10,144,12,"h"],[146,11,144,13],[146,14,144,16],[146,18,144,20,"poly1305_1"],[146,28,144,30],[146,29,144,31,"Poly1305"],[146,37,144,39],[146,38,144,40,"authKey"],[146,45,144,47],[146,46,144,48],[147,6,145,8],[148,6,146,8],[148,10,146,12,"associatedData"],[148,24,146,26],[148,26,146,28],[149,8,147,12,"h"],[149,9,147,13],[149,10,147,14,"update"],[149,16,147,20],[149,17,147,21,"associatedData"],[149,31,147,35],[149,32,147,36],[150,8,148,12],[150,12,148,16,"associatedData"],[150,26,148,30],[150,27,148,31,"length"],[150,33,148,37],[150,36,148,40],[150,38,148,42],[150,41,148,45],[150,42,148,46],[150,44,148,48],[151,10,149,16,"h"],[151,11,149,17],[151,12,149,18,"update"],[151,18,149,24],[151,19,149,25,"ZEROS"],[151,24,149,30],[151,25,149,31,"subarray"],[151,33,149,39],[151,34,149,40,"associatedData"],[151,48,149,54],[151,49,149,55,"length"],[151,55,149,61],[151,58,149,64],[151,60,149,66],[151,61,149,67],[151,62,149,68],[152,8,150,12],[153,6,151,8],[154,6,152,8],[155,6,153,8,"h"],[155,7,153,9],[155,8,153,10,"update"],[155,14,153,16],[155,15,153,17,"ciphertext"],[155,25,153,27],[155,26,153,28],[156,6,154,8],[156,10,154,12,"ciphertext"],[156,20,154,22],[156,21,154,23,"length"],[156,27,154,29],[156,30,154,32],[156,32,154,34],[156,35,154,37],[156,36,154,38],[156,38,154,40],[157,8,155,12,"h"],[157,9,155,13],[157,10,155,14,"update"],[157,16,155,20],[157,17,155,21,"ZEROS"],[157,22,155,26],[157,23,155,27,"subarray"],[157,31,155,35],[157,32,155,36,"ciphertext"],[157,42,155,46],[157,43,155,47,"length"],[157,49,155,53],[157,52,155,56],[157,54,155,58],[157,55,155,59],[157,56,155,60],[158,6,156,8],[159,6,157,8],[160,6,158,8],[161,6,159,8],[161,10,159,12,"length"],[161,16,159,18],[161,19,159,21],[161,23,159,25,"Uint8Array"],[161,33,159,35],[161,34,159,36],[161,35,159,37],[161,36,159,38],[162,6,160,8],[162,10,160,12,"associatedData"],[162,24,160,26],[162,26,160,28],[163,8,161,12,"binary_1"],[163,16,161,20],[163,17,161,21,"writeUint64LE"],[163,30,161,34],[163,31,161,35,"associatedData"],[163,45,161,49],[163,46,161,50,"length"],[163,52,161,56],[163,54,161,58,"length"],[163,60,161,64],[163,61,161,65],[164,6,162,8],[165,6,163,8,"h"],[165,7,163,9],[165,8,163,10,"update"],[165,14,163,16],[165,15,163,17,"length"],[165,21,163,23],[165,22,163,24],[166,6,164,8],[167,6,165,8,"binary_1"],[167,14,165,16],[167,15,165,17,"writeUint64LE"],[167,28,165,30],[167,29,165,31,"ciphertext"],[167,39,165,41],[167,40,165,42,"length"],[167,46,165,48],[167,48,165,50,"length"],[167,54,165,56],[167,55,165,57],[168,6,166,8,"h"],[168,7,166,9],[168,8,166,10,"update"],[168,14,166,16],[168,15,166,17,"length"],[168,21,166,23],[168,22,166,24],[169,6,167,8],[170,6,168,8],[170,10,168,12,"tag"],[170,13,168,15],[170,16,168,18,"h"],[170,17,168,19],[170,18,168,20,"digest"],[170,24,168,26],[170,25,168,27],[170,26,168,28],[171,6,169,8],[171,11,169,13],[171,15,169,17,"i"],[171,16,169,18],[171,19,169,21],[171,20,169,22],[171,22,169,24,"i"],[171,23,169,25],[171,26,169,28,"tag"],[171,29,169,31],[171,30,169,32,"length"],[171,36,169,38],[171,38,169,40,"i"],[171,39,169,41],[171,41,169,43],[171,43,169,45],[172,8,170,12,"tagOut"],[172,14,170,18],[172,15,170,19,"i"],[172,16,170,20],[172,17,170,21],[172,20,170,24,"tag"],[172,23,170,27],[172,24,170,28,"i"],[172,25,170,29],[172,26,170,30],[173,6,171,8],[174,6,172,8],[175,6,173,8,"h"],[175,7,173,9],[175,8,173,10,"clean"],[175,13,173,15],[175,14,173,16],[175,15,173,17],[176,6,174,8,"wipe_1"],[176,12,174,14],[176,13,174,15,"wipe"],[176,17,174,19],[176,18,174,20,"tag"],[176,21,174,23],[176,22,174,24],[177,6,175,8,"wipe_1"],[177,12,175,14],[177,13,175,15,"wipe"],[177,17,175,19],[177,18,175,20,"length"],[177,24,175,26],[177,25,175,27],[178,4,176,4],[178,5,176,5],[179,4,177,4],[179,11,177,11,"ChaCha20Poly1305"],[179,27,177,27],[180,2,178,0],[180,3,178,1],[180,4,178,2],[180,5,178,4],[181,2,179,0,"exports"],[181,9,179,7],[181,10,179,8,"ChaCha20Poly1305"],[181,26,179,24],[181,29,179,27,"ChaCha20Poly1305"],[181,45,179,43],[182,0,179,44],[182,3]],"functionMap":{"names":["<global>","<anonymous>","ChaCha20Poly1305","ChaCha20Poly1305.prototype.seal","ChaCha20Poly1305.prototype.open","ChaCha20Poly1305.prototype.clean","ChaCha20Poly1305.prototype._authenticate"],"mappings":"AAA;sCCkB;ICI;KDQ;sCEa;KFoC;sCGc;KH2C;uCIC;KJG;+CKC;KLkC;CDE"},"hasCjsExports":true},"type":"js/module"}]} |