@syengup/fridaynext-hermes-channel 0.0.0-stage → 0.1.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/install-runtime.js +193 -0
- package/install.js +32 -0
- package/package.json +20 -4
- package/plugin/README.md +21 -0
- package/plugin/__init__.py +3 -0
- package/plugin/fridaynext_plugin/__init__.py +71 -0
- package/plugin/fridaynext_plugin/adapter.py +1114 -0
- package/plugin/fridaynext_plugin/agent_defaults.py +107 -0
- package/plugin/fridaynext_plugin/canonical_control.py +509 -0
- package/plugin/fridaynext_plugin/compat_v0225.py +837 -0
- package/plugin/fridaynext_plugin/control_cli.py +101 -0
- package/plugin/fridaynext_plugin/controls.py +296 -0
- package/plugin/fridaynext_plugin/delivery_context.py +210 -0
- package/plugin/fridaynext_plugin/diagnostics.py +165 -0
- package/plugin/fridaynext_plugin/history.py +421 -0
- package/plugin/fridaynext_plugin/host.py +317 -0
- package/plugin/fridaynext_plugin/initial_settings.py +184 -0
- package/plugin/fridaynext_plugin/inline_media.py +58 -0
- package/plugin/fridaynext_plugin/media_input.py +139 -0
- package/plugin/fridaynext_plugin/media_observations.py +172 -0
- package/plugin/fridaynext_plugin/media_output.py +277 -0
- package/plugin/fridaynext_plugin/recovery.py +214 -0
- package/plugin/fridaynext_plugin/runtime_port.py +571 -0
- package/plugin/fridaynext_plugin/sessions.py +184 -0
- package/plugin/fridaynext_plugin/settings.py +695 -0
- package/plugin/fridaynext_plugin/settings_control.py +101 -0
- package/plugin/fridaynext_plugin/state.py +155 -0
- package/plugin/fridaynext_plugin/stream_bridge.py +493 -0
- package/plugin/fridaynext_plugin/stream_media.py +59 -0
- package/plugin/fridaynext_plugin/stream_projection.py +269 -0
- package/plugin/plugin.yaml +18 -0
- package/plugin/runtime/dist/host-peer.js +106 -0
- package/plugin/runtime/dist/hosted-artifacts.js +189 -0
- package/plugin/runtime/dist/hosted-backend.js +168 -0
- package/plugin/runtime/dist/hosted-delivery-observations.js +91 -0
- package/plugin/runtime/dist/hosted-media.js +327 -0
- package/plugin/runtime/dist/hosted-recovery.js +55 -0
- package/plugin/runtime/dist/hosted-settings.js +26 -0
- package/plugin/runtime/dist/hosted-stream.js +104 -0
- package/plugin/runtime/dist/identity.js +55 -0
- package/plugin/runtime/dist/kit-contract.json +1 -0
- package/plugin/runtime/dist/media-transport.js +168 -0
- package/plugin/runtime/dist/oss-upload-worker.js +7 -0
- package/plugin/runtime/dist/oss-upload.js +94 -0
- package/plugin/runtime/dist/ownership.js +21 -0
- package/plugin/runtime/dist/platform-service.js +32 -0
- package/plugin/runtime/dist/plugin-control.js +189 -0
- package/plugin/runtime/dist/plugin-worker.js +43 -0
- package/plugin/runtime/dist/private-files.js +24 -0
- package/plugin/runtime/dist/process-lock.js +40 -0
- package/plugin/runtime/dist/public-config.js +58 -0
- package/plugin/runtime/dist/service-errors.js +11 -0
- package/plugin/runtime/dist/service-host.js +240 -0
- package/plugin/runtime/node_modules/.package-lock.json +436 -0
- package/plugin/runtime/node_modules/@noble/hashes/LICENSE +21 -0
- package/plugin/runtime/node_modules/@noble/hashes/README.md +521 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts +17 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.js +18 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.js +50 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts +51 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.js +162 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts +55 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.js +90 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts +32 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.js +401 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts +106 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.js +459 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts +116 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.js +420 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.js +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.js +24 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts +54 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.js +255 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.js +5 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js +18 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts +47 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.js +166 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts +17 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js +15 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js +45 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts +51 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js +155 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts +55 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js +67 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts +32 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js +392 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts +106 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js +452 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts +116 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js +413 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js +21 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts +54 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js +251 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js +15 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts +47 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js +160 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts +36 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js +82 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts +35 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js +86 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.js +33 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts +71 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js +281 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/package.json +10 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts +23 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js +97 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts +13 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js +13 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts +34 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js +228 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts +159 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js +375 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts +142 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js +393 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts +53 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js +234 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts +26 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js +26 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts +161 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js +281 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts +36 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.js +88 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts +35 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.js +91 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.d.ts +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.js +33 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts +71 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.js +287 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/package.json +266 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts +23 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js +101 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts +13 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js +16 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts +34 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.js +232 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.js +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts +159 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.js +384 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.js +23 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts +142 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js +402 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts +53 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.js +239 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts +26 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.js +29 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_assert.ts +22 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_blake.ts +50 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_md.ts +176 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_u64.ts +91 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/argon2.ts +497 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake1.ts +534 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake2.ts +486 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake2b.ts +10 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake2s.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake3.ts +272 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/crypto.ts +9 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/cryptoNode.ts +15 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/eskdf.ts +187 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/hkdf.ts +88 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/hmac.ts +94 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/index.ts +31 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/legacy.ts +293 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/pbkdf2.ts +122 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/ripemd160.ts +12 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/scrypt.ts +257 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha1.ts +10 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha2.ts +402 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha256.ts +24 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha3-addons.ts +499 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha3.ts +258 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha512.ts +34 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/utils.ts +395 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts +161 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.js +313 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.js.map +1 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/API.md +416 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/LICENSE +21 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/README.md +77 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.d.ts +57 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.js +618 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.d.ts +29 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.js +58 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.d.ts +17 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.js +37 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.d.ts +27 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.js +146 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.d.ts +1 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.js +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.d.ts +38 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.js +85 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.d.ts +88 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.js +176 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.js +233 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.d.ts +6 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.js +17 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.d.ts +234 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.js +32 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.d.ts +19 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.js +113 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.d.ts +37 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.js +67 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.d.ts +14 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.js +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.d.ts +16 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.js +15 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.d.ts +21 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.js +234 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.js +232 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.d.ts +52 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.js +236 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.d.ts +38 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.js +149 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.d.ts +4 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.js +73 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.d.ts +6 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.js +88 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.d.ts +17 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.js +231 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.d.ts +76 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.js +1332 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.d.ts +43 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.js +280 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.d.ts +13 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.js +58 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.d.ts +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.js +11 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.d.ts +9 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.js +24 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.d.ts +36 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.js +151 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.d.ts +24 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.js +49 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.d.ts +45 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.js +233 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.d.ts +8 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.js +27 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.d.ts +49 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.js +307 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.d.ts +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.js +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.d.ts +43 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.js +211 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.d.ts +247 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.js +1525 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.d.ts +36 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.js +269 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.d.ts +13 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.js +130 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.d.ts +21 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.js +52 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.d.ts +38 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.js +266 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.d.ts +87 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.js +179 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.d.ts +25 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.js +44 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.js +76 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.d.ts +6 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.js +130 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.js +114 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.d.ts +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.js +24 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.d.ts +9 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.js +112 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.d.ts +18 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.js +197 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.d.ts +20 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.js +227 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.d.ts +15 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.js +45 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.d.ts +10 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.js +105 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.d.ts +22 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.js +138 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.d.ts +8 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.js +65 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.d.ts +13 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.js +65 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.d.ts +50 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.js +400 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.d.ts +8 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.js +43 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.d.ts +5 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.js +121 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.d.ts +20 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.js +118 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/package.json +40 -0
- package/plugin/runtime/node_modules/ansi-regex/index.d.ts +37 -0
- package/plugin/runtime/node_modules/ansi-regex/index.js +10 -0
- package/plugin/runtime/node_modules/ansi-regex/license +9 -0
- package/plugin/runtime/node_modules/ansi-regex/package.json +55 -0
- package/plugin/runtime/node_modules/ansi-regex/readme.md +78 -0
- package/plugin/runtime/node_modules/ansi-styles/index.d.ts +345 -0
- package/plugin/runtime/node_modules/ansi-styles/index.js +163 -0
- package/plugin/runtime/node_modules/ansi-styles/license +9 -0
- package/plugin/runtime/node_modules/ansi-styles/package.json +56 -0
- package/plugin/runtime/node_modules/ansi-styles/readme.md +152 -0
- package/plugin/runtime/node_modules/asn1js/LICENSE +30 -0
- package/plugin/runtime/node_modules/asn1js/README.md +222 -0
- package/plugin/runtime/node_modules/asn1js/build/index.d.ts +1412 -0
- package/plugin/runtime/node_modules/asn1js/build/index.es.js +3705 -0
- package/plugin/runtime/node_modules/asn1js/build/index.js +3773 -0
- package/plugin/runtime/node_modules/asn1js/package.json +89 -0
- package/plugin/runtime/node_modules/bytestreamjs/LICENSE +29 -0
- package/plugin/runtime/node_modules/bytestreamjs/README.MD +196 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit.js +91 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit_stream.js +400 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/byte_stream.js +648 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/helpers.js +59 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/index.js +21 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_bit_stream.js +114 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_stream.js +437 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit.js +88 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit_stream.js +396 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/byte_stream.js +644 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/helpers.js +55 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/index.js +5 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_bit_stream.js +110 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_stream.js +433 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/bit.d.ts +1 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/bit_stream.d.ts +222 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/byte_stream.d.ts +292 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/helpers.d.ts +23 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/index.d.ts +5 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_bit_stream.d.ts +47 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_stream.d.ts +255 -0
- package/plugin/runtime/node_modules/bytestreamjs/package.json +66 -0
- package/plugin/runtime/node_modules/camelcase/index.d.ts +63 -0
- package/plugin/runtime/node_modules/camelcase/index.js +76 -0
- package/plugin/runtime/node_modules/camelcase/license +9 -0
- package/plugin/runtime/node_modules/camelcase/package.json +43 -0
- package/plugin/runtime/node_modules/camelcase/readme.md +99 -0
- package/plugin/runtime/node_modules/cbor/LICENSE.md +20 -0
- package/plugin/runtime/node_modules/cbor/README.md +282 -0
- package/plugin/runtime/node_modules/cbor/lib/cbor.js +114 -0
- package/plugin/runtime/node_modules/cbor/lib/commented.js +382 -0
- package/plugin/runtime/node_modules/cbor/lib/constants.js +79 -0
- package/plugin/runtime/node_modules/cbor/lib/decoder.js +680 -0
- package/plugin/runtime/node_modules/cbor/lib/diagnose.js +274 -0
- package/plugin/runtime/node_modules/cbor/lib/encoder.js +1121 -0
- package/plugin/runtime/node_modules/cbor/lib/map.js +185 -0
- package/plugin/runtime/node_modules/cbor/lib/objectRecorder.js +71 -0
- package/plugin/runtime/node_modules/cbor/lib/sharedValueEncoder.js +141 -0
- package/plugin/runtime/node_modules/cbor/lib/simple.js +104 -0
- package/plugin/runtime/node_modules/cbor/lib/tagged.js +378 -0
- package/plugin/runtime/node_modules/cbor/lib/utils.js +308 -0
- package/plugin/runtime/node_modules/cbor/package.json +47 -0
- package/plugin/runtime/node_modules/cbor/types/lib/cbor.d.ts +34 -0
- package/plugin/runtime/node_modules/cbor/types/lib/commented.d.ts +109 -0
- package/plugin/runtime/node_modules/cbor/types/lib/constants.d.ts +63 -0
- package/plugin/runtime/node_modules/cbor/types/lib/decoder.d.ts +199 -0
- package/plugin/runtime/node_modules/cbor/types/lib/diagnose.d.ts +91 -0
- package/plugin/runtime/node_modules/cbor/types/lib/encoder.d.ts +477 -0
- package/plugin/runtime/node_modules/cbor/types/lib/map.d.ts +78 -0
- package/plugin/runtime/node_modules/cbor/types/lib/objectRecorder.d.ts +36 -0
- package/plugin/runtime/node_modules/cbor/types/lib/sharedValueEncoder.d.ts +21 -0
- package/plugin/runtime/node_modules/cbor/types/lib/simple.d.ts +47 -0
- package/plugin/runtime/node_modules/cbor/types/lib/tagged.d.ts +74 -0
- package/plugin/runtime/node_modules/cbor/types/lib/utils.d.ts +20 -0
- package/plugin/runtime/node_modules/cbor/types/vendor/binary-parse-stream/index.d.ts +34 -0
- package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/README.md +49 -0
- package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/index.js +111 -0
- package/plugin/runtime/node_modules/cliui/CHANGELOG.md +76 -0
- package/plugin/runtime/node_modules/cliui/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/cliui/README.md +115 -0
- package/plugin/runtime/node_modules/cliui/index.js +354 -0
- package/plugin/runtime/node_modules/cliui/package.json +65 -0
- package/plugin/runtime/node_modules/color-convert/CHANGELOG.md +54 -0
- package/plugin/runtime/node_modules/color-convert/LICENSE +21 -0
- package/plugin/runtime/node_modules/color-convert/README.md +68 -0
- package/plugin/runtime/node_modules/color-convert/conversions.js +839 -0
- package/plugin/runtime/node_modules/color-convert/index.js +81 -0
- package/plugin/runtime/node_modules/color-convert/package.json +48 -0
- package/plugin/runtime/node_modules/color-convert/route.js +97 -0
- package/plugin/runtime/node_modules/color-name/LICENSE +8 -0
- package/plugin/runtime/node_modules/color-name/README.md +11 -0
- package/plugin/runtime/node_modules/color-name/index.js +152 -0
- package/plugin/runtime/node_modules/color-name/package.json +28 -0
- package/plugin/runtime/node_modules/decamelize/index.js +13 -0
- package/plugin/runtime/node_modules/decamelize/license +21 -0
- package/plugin/runtime/node_modules/decamelize/package.json +38 -0
- package/plugin/runtime/node_modules/decamelize/readme.md +48 -0
- package/plugin/runtime/node_modules/dijkstrajs/.travis.yml +4 -0
- package/plugin/runtime/node_modules/dijkstrajs/CONTRIBUTING.md +8 -0
- package/plugin/runtime/node_modules/dijkstrajs/LICENSE.md +19 -0
- package/plugin/runtime/node_modules/dijkstrajs/README.md +18 -0
- package/plugin/runtime/node_modules/dijkstrajs/dijkstra.js +165 -0
- package/plugin/runtime/node_modules/dijkstrajs/package.json +60 -0
- package/plugin/runtime/node_modules/dijkstrajs/test/dijkstra.test.js +96 -0
- package/plugin/runtime/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/plugin/runtime/node_modules/emoji-regex/README.md +73 -0
- package/plugin/runtime/node_modules/emoji-regex/es2015/index.js +6 -0
- package/plugin/runtime/node_modules/emoji-regex/es2015/text.js +6 -0
- package/plugin/runtime/node_modules/emoji-regex/index.d.ts +23 -0
- package/plugin/runtime/node_modules/emoji-regex/index.js +6 -0
- package/plugin/runtime/node_modules/emoji-regex/package.json +50 -0
- package/plugin/runtime/node_modules/emoji-regex/text.js +6 -0
- package/plugin/runtime/node_modules/find-up/index.d.ts +137 -0
- package/plugin/runtime/node_modules/find-up/index.js +89 -0
- package/plugin/runtime/node_modules/find-up/license +9 -0
- package/plugin/runtime/node_modules/find-up/package.json +53 -0
- package/plugin/runtime/node_modules/find-up/readme.md +156 -0
- package/plugin/runtime/node_modules/get-caller-file/LICENSE.md +6 -0
- package/plugin/runtime/node_modules/get-caller-file/README.md +41 -0
- package/plugin/runtime/node_modules/get-caller-file/index.d.ts +2 -0
- package/plugin/runtime/node_modules/get-caller-file/index.js +22 -0
- package/plugin/runtime/node_modules/get-caller-file/index.js.map +1 -0
- package/plugin/runtime/node_modules/get-caller-file/package.json +42 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/license +9 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/plugin/runtime/node_modules/locate-path/index.d.ts +83 -0
- package/plugin/runtime/node_modules/locate-path/index.js +65 -0
- package/plugin/runtime/node_modules/locate-path/license +9 -0
- package/plugin/runtime/node_modules/locate-path/package.json +45 -0
- package/plugin/runtime/node_modules/locate-path/readme.md +122 -0
- package/plugin/runtime/node_modules/node-app-attest/.github/dependabot.yml +6 -0
- package/plugin/runtime/node_modules/node-app-attest/.github/workflows/ci.yml +43 -0
- package/plugin/runtime/node_modules/node-app-attest/.prettierrc +1 -0
- package/plugin/runtime/node_modules/node-app-attest/.yarnrc.yml +1 -0
- package/plugin/runtime/node_modules/node-app-attest/LICENSE +21 -0
- package/plugin/runtime/node_modules/node-app-attest/README.md +300 -0
- package/plugin/runtime/node_modules/node-app-attest/eslint.config.js +30 -0
- package/plugin/runtime/node_modules/node-app-attest/package.json +44 -0
- package/plugin/runtime/node_modules/node-app-attest/src/index.js +4 -0
- package/plugin/runtime/node_modules/node-app-attest/src/verifyAssertion.js +81 -0
- package/plugin/runtime/node_modules/node-app-attest/src/verifyAttestation.js +211 -0
- package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-development.json +5 -0
- package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-production.json +5 -0
- package/plugin/runtime/node_modules/node-app-attest/test/verifyAssertion.test.js +119 -0
- package/plugin/runtime/node_modules/node-app-attest/test/verifyAttestation.test.js +303 -0
- package/plugin/runtime/node_modules/node-app-attest/tsconfig.json +11 -0
- package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts +4 -0
- package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts.map +1 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts +5 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts.map +1 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts +8 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts.map +1 -0
- package/plugin/runtime/node_modules/nofilter/LICENSE.md +20 -0
- package/plugin/runtime/node_modules/nofilter/README.md +36 -0
- package/plugin/runtime/node_modules/nofilter/lib/index.js +1055 -0
- package/plugin/runtime/node_modules/nofilter/package.json +60 -0
- package/plugin/runtime/node_modules/nofilter/types/index.d.ts +573 -0
- package/plugin/runtime/node_modules/p-limit/index.d.ts +38 -0
- package/plugin/runtime/node_modules/p-limit/index.js +57 -0
- package/plugin/runtime/node_modules/p-limit/license +9 -0
- package/plugin/runtime/node_modules/p-limit/package.json +52 -0
- package/plugin/runtime/node_modules/p-limit/readme.md +101 -0
- package/plugin/runtime/node_modules/p-locate/index.d.ts +64 -0
- package/plugin/runtime/node_modules/p-locate/index.js +52 -0
- package/plugin/runtime/node_modules/p-locate/license +9 -0
- package/plugin/runtime/node_modules/p-locate/package.json +53 -0
- package/plugin/runtime/node_modules/p-locate/readme.md +90 -0
- package/plugin/runtime/node_modules/p-try/index.d.ts +39 -0
- package/plugin/runtime/node_modules/p-try/index.js +9 -0
- package/plugin/runtime/node_modules/p-try/license +9 -0
- package/plugin/runtime/node_modules/p-try/package.json +42 -0
- package/plugin/runtime/node_modules/p-try/readme.md +58 -0
- package/plugin/runtime/node_modules/path-exists/index.d.ts +28 -0
- package/plugin/runtime/node_modules/path-exists/index.js +23 -0
- package/plugin/runtime/node_modules/path-exists/license +9 -0
- package/plugin/runtime/node_modules/path-exists/package.json +39 -0
- package/plugin/runtime/node_modules/path-exists/readme.md +52 -0
- package/plugin/runtime/node_modules/pkijs/LICENSE +30 -0
- package/plugin/runtime/node_modules/pkijs/README.md +81 -0
- package/plugin/runtime/node_modules/pkijs/build/index.d.ts +9419 -0
- package/plugin/runtime/node_modules/pkijs/build/index.es.js +18789 -0
- package/plugin/runtime/node_modules/pkijs/build/index.js +19014 -0
- package/plugin/runtime/node_modules/pkijs/package.json +98 -0
- package/plugin/runtime/node_modules/pngjs/.eslintignore +2 -0
- package/plugin/runtime/node_modules/pngjs/.eslintrc.json +19 -0
- package/plugin/runtime/node_modules/pngjs/.prettierignore +3 -0
- package/plugin/runtime/node_modules/pngjs/LICENSE +20 -0
- package/plugin/runtime/node_modules/pngjs/README.md +429 -0
- package/plugin/runtime/node_modules/pngjs/browser.js +16096 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/base.css +354 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +881 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +554 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/block-navigation.js +77 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +647 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/constants.js.html +176 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/crc.js.html +200 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +593 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +152 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +143 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +611 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +359 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/index.html +426 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/interlace.js.html +365 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +230 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +248 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer.js.html +467 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +128 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +575 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +404 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser.js.html +950 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +116 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png.js.html +662 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.css +101 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.js +1007 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sorter.js +169 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +584 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +215 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov.info +2177 -0
- package/plugin/runtime/node_modules/pngjs/lib/bitmapper.js +267 -0
- package/plugin/runtime/node_modules/pngjs/lib/bitpacker.js +158 -0
- package/plugin/runtime/node_modules/pngjs/lib/chunkstream.js +189 -0
- package/plugin/runtime/node_modules/pngjs/lib/constants.js +32 -0
- package/plugin/runtime/node_modules/pngjs/lib/crc.js +40 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-pack.js +171 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-parse-async.js +24 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-parse-sync.js +21 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-parse.js +177 -0
- package/plugin/runtime/node_modules/pngjs/lib/format-normaliser.js +93 -0
- package/plugin/runtime/node_modules/pngjs/lib/interlace.js +95 -0
- package/plugin/runtime/node_modules/pngjs/lib/packer-async.js +50 -0
- package/plugin/runtime/node_modules/pngjs/lib/packer-sync.js +56 -0
- package/plugin/runtime/node_modules/pngjs/lib/packer.js +129 -0
- package/plugin/runtime/node_modules/pngjs/lib/paeth-predictor.js +16 -0
- package/plugin/runtime/node_modules/pngjs/lib/parser-async.js +165 -0
- package/plugin/runtime/node_modules/pngjs/lib/parser-sync.js +108 -0
- package/plugin/runtime/node_modules/pngjs/lib/parser.js +290 -0
- package/plugin/runtime/node_modules/pngjs/lib/png-sync.js +12 -0
- package/plugin/runtime/node_modules/pngjs/lib/png.js +194 -0
- package/plugin/runtime/node_modules/pngjs/lib/sync-inflate.js +168 -0
- package/plugin/runtime/node_modules/pngjs/lib/sync-reader.js +45 -0
- package/plugin/runtime/node_modules/pngjs/package.json +73 -0
- package/plugin/runtime/node_modules/pvtsutils/LICENSE +21 -0
- package/plugin/runtime/node_modules/pvtsutils/README.md +80 -0
- package/plugin/runtime/node_modules/pvtsutils/build/index.d.ts +208 -0
- package/plugin/runtime/node_modules/pvtsutils/build/index.es.js +393 -0
- package/plugin/runtime/node_modules/pvtsutils/build/index.js +399 -0
- package/plugin/runtime/node_modules/pvtsutils/package.json +76 -0
- package/plugin/runtime/node_modules/pvutils/LICENSE +24 -0
- package/plugin/runtime/node_modules/pvutils/README.md +24 -0
- package/plugin/runtime/node_modules/pvutils/build/index.d.ts +116 -0
- package/plugin/runtime/node_modules/pvutils/build/utils.es.js +340 -0
- package/plugin/runtime/node_modules/pvutils/build/utils.js +361 -0
- package/plugin/runtime/node_modules/pvutils/package.json +63 -0
- package/plugin/runtime/node_modules/qrcode/README.md +770 -0
- package/plugin/runtime/node_modules/qrcode/bin/qrcode +159 -0
- package/plugin/runtime/node_modules/qrcode/helper/to-sjis-browser.js +2 -0
- package/plugin/runtime/node_modules/qrcode/helper/to-sjis.js +105 -0
- package/plugin/runtime/node_modules/qrcode/lib/browser.js +76 -0
- package/plugin/runtime/node_modules/qrcode/lib/can-promise.js +7 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/alignment-pattern.js +83 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/alphanumeric-data.js +59 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/bit-buffer.js +37 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/bit-matrix.js +65 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/byte-data.js +30 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-code.js +135 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-level.js +50 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/finder-pattern.js +22 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/format-info.js +29 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/galois-field.js +69 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/kanji-data.js +54 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/mask-pattern.js +234 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/mode.js +167 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/numeric-data.js +43 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/polynomial.js +62 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/qrcode.js +495 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/reed-solomon-encoder.js +56 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/regex.js +31 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/segments.js +330 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/utils.js +63 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/version-check.js +9 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/version.js +163 -0
- package/plugin/runtime/node_modules/qrcode/lib/index.js +12 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/canvas.js +63 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/png.js +78 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/svg-tag.js +81 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/svg.js +19 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +85 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal.js +49 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal.js +9 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/utf8.js +71 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/utils.js +99 -0
- package/plugin/runtime/node_modules/qrcode/lib/server.js +138 -0
- package/plugin/runtime/node_modules/qrcode/license +10 -0
- package/plugin/runtime/node_modules/qrcode/package.json +77 -0
- package/plugin/runtime/node_modules/require-directory/.jshintrc +67 -0
- package/plugin/runtime/node_modules/require-directory/.travis.yml +3 -0
- package/plugin/runtime/node_modules/require-directory/LICENSE +22 -0
- package/plugin/runtime/node_modules/require-directory/README.markdown +184 -0
- package/plugin/runtime/node_modules/require-directory/index.js +86 -0
- package/plugin/runtime/node_modules/require-directory/package.json +40 -0
- package/plugin/runtime/node_modules/require-main-filename/CHANGELOG.md +26 -0
- package/plugin/runtime/node_modules/require-main-filename/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/require-main-filename/README.md +26 -0
- package/plugin/runtime/node_modules/require-main-filename/index.js +18 -0
- package/plugin/runtime/node_modules/require-main-filename/package.json +35 -0
- package/plugin/runtime/node_modules/set-blocking/CHANGELOG.md +26 -0
- package/plugin/runtime/node_modules/set-blocking/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/set-blocking/README.md +31 -0
- package/plugin/runtime/node_modules/set-blocking/index.js +7 -0
- package/plugin/runtime/node_modules/set-blocking/package.json +42 -0
- package/plugin/runtime/node_modules/string-width/index.d.ts +29 -0
- package/plugin/runtime/node_modules/string-width/index.js +47 -0
- package/plugin/runtime/node_modules/string-width/license +9 -0
- package/plugin/runtime/node_modules/string-width/package.json +56 -0
- package/plugin/runtime/node_modules/string-width/readme.md +50 -0
- package/plugin/runtime/node_modules/strip-ansi/index.d.ts +17 -0
- package/plugin/runtime/node_modules/strip-ansi/index.js +4 -0
- package/plugin/runtime/node_modules/strip-ansi/license +9 -0
- package/plugin/runtime/node_modules/strip-ansi/package.json +54 -0
- package/plugin/runtime/node_modules/strip-ansi/readme.md +46 -0
- package/plugin/runtime/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/plugin/runtime/node_modules/tslib/LICENSE.txt +12 -0
- package/plugin/runtime/node_modules/tslib/README.md +164 -0
- package/plugin/runtime/node_modules/tslib/SECURITY.md +41 -0
- package/plugin/runtime/node_modules/tslib/modules/index.d.ts +38 -0
- package/plugin/runtime/node_modules/tslib/modules/index.js +70 -0
- package/plugin/runtime/node_modules/tslib/modules/package.json +3 -0
- package/plugin/runtime/node_modules/tslib/package.json +47 -0
- package/plugin/runtime/node_modules/tslib/tslib.d.ts +460 -0
- package/plugin/runtime/node_modules/tslib/tslib.es6.html +1 -0
- package/plugin/runtime/node_modules/tslib/tslib.es6.js +402 -0
- package/plugin/runtime/node_modules/tslib/tslib.es6.mjs +401 -0
- package/plugin/runtime/node_modules/tslib/tslib.html +1 -0
- package/plugin/runtime/node_modules/tslib/tslib.js +484 -0
- package/plugin/runtime/node_modules/which-module/LICENSE +13 -0
- package/plugin/runtime/node_modules/which-module/README.md +58 -0
- package/plugin/runtime/node_modules/which-module/index.js +9 -0
- package/plugin/runtime/node_modules/which-module/package.json +41 -0
- package/plugin/runtime/node_modules/wrap-ansi/index.js +186 -0
- package/plugin/runtime/node_modules/wrap-ansi/license +9 -0
- package/plugin/runtime/node_modules/wrap-ansi/package.json +61 -0
- package/plugin/runtime/node_modules/wrap-ansi/readme.md +97 -0
- package/plugin/runtime/node_modules/y18n/CHANGELOG.md +35 -0
- package/plugin/runtime/node_modules/y18n/LICENSE +13 -0
- package/plugin/runtime/node_modules/y18n/README.md +109 -0
- package/plugin/runtime/node_modules/y18n/index.js +188 -0
- package/plugin/runtime/node_modules/y18n/package.json +39 -0
- package/plugin/runtime/node_modules/yargs/CHANGELOG.md +420 -0
- package/plugin/runtime/node_modules/yargs/LICENSE +21 -0
- package/plugin/runtime/node_modules/yargs/README.md +140 -0
- package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.js +65 -0
- package/plugin/runtime/node_modules/yargs/build/lib/argsert.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/argsert.js +65 -0
- package/plugin/runtime/node_modules/yargs/build/lib/command.d.ts +64 -0
- package/plugin/runtime/node_modules/yargs/build/lib/command.js +416 -0
- package/plugin/runtime/node_modules/yargs/build/lib/common-types.d.ts +36 -0
- package/plugin/runtime/node_modules/yargs/build/lib/common-types.js +25 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.js +50 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion.d.ts +21 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion.js +135 -0
- package/plugin/runtime/node_modules/yargs/build/lib/is-promise.d.ts +1 -0
- package/plugin/runtime/node_modules/yargs/build/lib/is-promise.js +9 -0
- package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.d.ts +1 -0
- package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.js +58 -0
- package/plugin/runtime/node_modules/yargs/build/lib/middleware.d.ts +10 -0
- package/plugin/runtime/node_modules/yargs/build/lib/middleware.js +57 -0
- package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.d.ts +1 -0
- package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.js +14 -0
- package/plugin/runtime/node_modules/yargs/build/lib/parse-command.d.ts +11 -0
- package/plugin/runtime/node_modules/yargs/build/lib/parse-command.js +36 -0
- package/plugin/runtime/node_modules/yargs/build/lib/process-argv.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/process-argv.js +31 -0
- package/plugin/runtime/node_modules/yargs/build/lib/usage.d.ts +49 -0
- package/plugin/runtime/node_modules/yargs/build/lib/usage.js +540 -0
- package/plugin/runtime/node_modules/yargs/build/lib/validation.d.ts +34 -0
- package/plugin/runtime/node_modules/yargs/build/lib/validation.js +330 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yargs.d.ts +274 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yargs.js +1190 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yerror.d.ts +4 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yerror.js +11 -0
- package/plugin/runtime/node_modules/yargs/index.js +40 -0
- package/plugin/runtime/node_modules/yargs/locales/be.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/de.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/en.json +51 -0
- package/plugin/runtime/node_modules/yargs/locales/es.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/fi.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/fr.json +53 -0
- package/plugin/runtime/node_modules/yargs/locales/hi.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/hu.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/id.json +50 -0
- package/plugin/runtime/node_modules/yargs/locales/it.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/ja.json +51 -0
- package/plugin/runtime/node_modules/yargs/locales/ko.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/nb.json +44 -0
- package/plugin/runtime/node_modules/yargs/locales/nl.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/nn.json +44 -0
- package/plugin/runtime/node_modules/yargs/locales/pirate.json +13 -0
- package/plugin/runtime/node_modules/yargs/locales/pl.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/pt.json +45 -0
- package/plugin/runtime/node_modules/yargs/locales/pt_BR.json +48 -0
- package/plugin/runtime/node_modules/yargs/locales/ru.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/th.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/tr.json +48 -0
- package/plugin/runtime/node_modules/yargs/locales/zh_CN.json +48 -0
- package/plugin/runtime/node_modules/yargs/locales/zh_TW.json +47 -0
- package/plugin/runtime/node_modules/yargs/package.json +92 -0
- package/plugin/runtime/node_modules/yargs/yargs.js +14 -0
- package/plugin/runtime/node_modules/yargs-parser/CHANGELOG.md +601 -0
- package/plugin/runtime/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/yargs-parser/README.md +449 -0
- package/plugin/runtime/node_modules/yargs-parser/index.js +1032 -0
- package/plugin/runtime/node_modules/yargs-parser/lib/tokenize-arg-string.js +40 -0
- package/plugin/runtime/node_modules/yargs-parser/package.json +46 -0
- package/plugin/runtime/package-lock.json +447 -0
- package/plugin/runtime/package.json +13 -0
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sha512_224 = exports.sha512_256 = exports.sha384 = exports.sha512 = exports.sha224 = exports.sha256 = exports.SHA512_256 = exports.SHA512_224 = exports.SHA384 = exports.SHA512 = exports.SHA224 = exports.SHA256 = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* SHA2 hash function. A.k.a. sha256, sha384, sha512, sha512_224, sha512_256.
|
|
6
|
+
* SHA256 is the fastest hash implementable in JS, even faster than Blake3.
|
|
7
|
+
* Check out [RFC 4634](https://datatracker.ietf.org/doc/html/rfc4634) and
|
|
8
|
+
* [FIPS 180-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf).
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
const _md_ts_1 = require("./_md.js");
|
|
12
|
+
const u64 = require("./_u64.js");
|
|
13
|
+
const utils_ts_1 = require("./utils.js");
|
|
14
|
+
/**
|
|
15
|
+
* Round constants:
|
|
16
|
+
* First 32 bits of fractional parts of the cube roots of the first 64 primes 2..311)
|
|
17
|
+
*/
|
|
18
|
+
// prettier-ignore
|
|
19
|
+
const SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
20
|
+
0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,
|
|
21
|
+
0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,
|
|
22
|
+
0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,
|
|
23
|
+
0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,
|
|
24
|
+
0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,
|
|
25
|
+
0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,
|
|
26
|
+
0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,
|
|
27
|
+
0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2
|
|
28
|
+
]);
|
|
29
|
+
/** Reusable temporary buffer. "W" comes straight from spec. */
|
|
30
|
+
const SHA256_W = /* @__PURE__ */ new Uint32Array(64);
|
|
31
|
+
class SHA256 extends _md_ts_1.HashMD {
|
|
32
|
+
constructor(outputLen = 32) {
|
|
33
|
+
super(64, outputLen, 8, false);
|
|
34
|
+
// We cannot use array here since array allows indexing by variable
|
|
35
|
+
// which means optimizer/compiler cannot use registers.
|
|
36
|
+
this.A = _md_ts_1.SHA256_IV[0] | 0;
|
|
37
|
+
this.B = _md_ts_1.SHA256_IV[1] | 0;
|
|
38
|
+
this.C = _md_ts_1.SHA256_IV[2] | 0;
|
|
39
|
+
this.D = _md_ts_1.SHA256_IV[3] | 0;
|
|
40
|
+
this.E = _md_ts_1.SHA256_IV[4] | 0;
|
|
41
|
+
this.F = _md_ts_1.SHA256_IV[5] | 0;
|
|
42
|
+
this.G = _md_ts_1.SHA256_IV[6] | 0;
|
|
43
|
+
this.H = _md_ts_1.SHA256_IV[7] | 0;
|
|
44
|
+
}
|
|
45
|
+
get() {
|
|
46
|
+
const { A, B, C, D, E, F, G, H } = this;
|
|
47
|
+
return [A, B, C, D, E, F, G, H];
|
|
48
|
+
}
|
|
49
|
+
// prettier-ignore
|
|
50
|
+
set(A, B, C, D, E, F, G, H) {
|
|
51
|
+
this.A = A | 0;
|
|
52
|
+
this.B = B | 0;
|
|
53
|
+
this.C = C | 0;
|
|
54
|
+
this.D = D | 0;
|
|
55
|
+
this.E = E | 0;
|
|
56
|
+
this.F = F | 0;
|
|
57
|
+
this.G = G | 0;
|
|
58
|
+
this.H = H | 0;
|
|
59
|
+
}
|
|
60
|
+
process(view, offset) {
|
|
61
|
+
// Extend the first 16 words into the remaining 48 words w[16..63] of the message schedule array
|
|
62
|
+
for (let i = 0; i < 16; i++, offset += 4)
|
|
63
|
+
SHA256_W[i] = view.getUint32(offset, false);
|
|
64
|
+
for (let i = 16; i < 64; i++) {
|
|
65
|
+
const W15 = SHA256_W[i - 15];
|
|
66
|
+
const W2 = SHA256_W[i - 2];
|
|
67
|
+
const s0 = (0, utils_ts_1.rotr)(W15, 7) ^ (0, utils_ts_1.rotr)(W15, 18) ^ (W15 >>> 3);
|
|
68
|
+
const s1 = (0, utils_ts_1.rotr)(W2, 17) ^ (0, utils_ts_1.rotr)(W2, 19) ^ (W2 >>> 10);
|
|
69
|
+
SHA256_W[i] = (s1 + SHA256_W[i - 7] + s0 + SHA256_W[i - 16]) | 0;
|
|
70
|
+
}
|
|
71
|
+
// Compression function main loop, 64 rounds
|
|
72
|
+
let { A, B, C, D, E, F, G, H } = this;
|
|
73
|
+
for (let i = 0; i < 64; i++) {
|
|
74
|
+
const sigma1 = (0, utils_ts_1.rotr)(E, 6) ^ (0, utils_ts_1.rotr)(E, 11) ^ (0, utils_ts_1.rotr)(E, 25);
|
|
75
|
+
const T1 = (H + sigma1 + (0, _md_ts_1.Chi)(E, F, G) + SHA256_K[i] + SHA256_W[i]) | 0;
|
|
76
|
+
const sigma0 = (0, utils_ts_1.rotr)(A, 2) ^ (0, utils_ts_1.rotr)(A, 13) ^ (0, utils_ts_1.rotr)(A, 22);
|
|
77
|
+
const T2 = (sigma0 + (0, _md_ts_1.Maj)(A, B, C)) | 0;
|
|
78
|
+
H = G;
|
|
79
|
+
G = F;
|
|
80
|
+
F = E;
|
|
81
|
+
E = (D + T1) | 0;
|
|
82
|
+
D = C;
|
|
83
|
+
C = B;
|
|
84
|
+
B = A;
|
|
85
|
+
A = (T1 + T2) | 0;
|
|
86
|
+
}
|
|
87
|
+
// Add the compressed chunk to the current hash value
|
|
88
|
+
A = (A + this.A) | 0;
|
|
89
|
+
B = (B + this.B) | 0;
|
|
90
|
+
C = (C + this.C) | 0;
|
|
91
|
+
D = (D + this.D) | 0;
|
|
92
|
+
E = (E + this.E) | 0;
|
|
93
|
+
F = (F + this.F) | 0;
|
|
94
|
+
G = (G + this.G) | 0;
|
|
95
|
+
H = (H + this.H) | 0;
|
|
96
|
+
this.set(A, B, C, D, E, F, G, H);
|
|
97
|
+
}
|
|
98
|
+
roundClean() {
|
|
99
|
+
(0, utils_ts_1.clean)(SHA256_W);
|
|
100
|
+
}
|
|
101
|
+
destroy() {
|
|
102
|
+
this.set(0, 0, 0, 0, 0, 0, 0, 0);
|
|
103
|
+
(0, utils_ts_1.clean)(this.buffer);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.SHA256 = SHA256;
|
|
107
|
+
class SHA224 extends SHA256 {
|
|
108
|
+
constructor() {
|
|
109
|
+
super(28);
|
|
110
|
+
this.A = _md_ts_1.SHA224_IV[0] | 0;
|
|
111
|
+
this.B = _md_ts_1.SHA224_IV[1] | 0;
|
|
112
|
+
this.C = _md_ts_1.SHA224_IV[2] | 0;
|
|
113
|
+
this.D = _md_ts_1.SHA224_IV[3] | 0;
|
|
114
|
+
this.E = _md_ts_1.SHA224_IV[4] | 0;
|
|
115
|
+
this.F = _md_ts_1.SHA224_IV[5] | 0;
|
|
116
|
+
this.G = _md_ts_1.SHA224_IV[6] | 0;
|
|
117
|
+
this.H = _md_ts_1.SHA224_IV[7] | 0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.SHA224 = SHA224;
|
|
121
|
+
// SHA2-512 is slower than sha256 in js because u64 operations are slow.
|
|
122
|
+
// Round contants
|
|
123
|
+
// First 32 bits of the fractional parts of the cube roots of the first 80 primes 2..409
|
|
124
|
+
// prettier-ignore
|
|
125
|
+
const K512 = /* @__PURE__ */ (() => u64.split([
|
|
126
|
+
'0x428a2f98d728ae22', '0x7137449123ef65cd', '0xb5c0fbcfec4d3b2f', '0xe9b5dba58189dbbc',
|
|
127
|
+
'0x3956c25bf348b538', '0x59f111f1b605d019', '0x923f82a4af194f9b', '0xab1c5ed5da6d8118',
|
|
128
|
+
'0xd807aa98a3030242', '0x12835b0145706fbe', '0x243185be4ee4b28c', '0x550c7dc3d5ffb4e2',
|
|
129
|
+
'0x72be5d74f27b896f', '0x80deb1fe3b1696b1', '0x9bdc06a725c71235', '0xc19bf174cf692694',
|
|
130
|
+
'0xe49b69c19ef14ad2', '0xefbe4786384f25e3', '0x0fc19dc68b8cd5b5', '0x240ca1cc77ac9c65',
|
|
131
|
+
'0x2de92c6f592b0275', '0x4a7484aa6ea6e483', '0x5cb0a9dcbd41fbd4', '0x76f988da831153b5',
|
|
132
|
+
'0x983e5152ee66dfab', '0xa831c66d2db43210', '0xb00327c898fb213f', '0xbf597fc7beef0ee4',
|
|
133
|
+
'0xc6e00bf33da88fc2', '0xd5a79147930aa725', '0x06ca6351e003826f', '0x142929670a0e6e70',
|
|
134
|
+
'0x27b70a8546d22ffc', '0x2e1b21385c26c926', '0x4d2c6dfc5ac42aed', '0x53380d139d95b3df',
|
|
135
|
+
'0x650a73548baf63de', '0x766a0abb3c77b2a8', '0x81c2c92e47edaee6', '0x92722c851482353b',
|
|
136
|
+
'0xa2bfe8a14cf10364', '0xa81a664bbc423001', '0xc24b8b70d0f89791', '0xc76c51a30654be30',
|
|
137
|
+
'0xd192e819d6ef5218', '0xd69906245565a910', '0xf40e35855771202a', '0x106aa07032bbd1b8',
|
|
138
|
+
'0x19a4c116b8d2d0c8', '0x1e376c085141ab53', '0x2748774cdf8eeb99', '0x34b0bcb5e19b48a8',
|
|
139
|
+
'0x391c0cb3c5c95a63', '0x4ed8aa4ae3418acb', '0x5b9cca4f7763e373', '0x682e6ff3d6b2b8a3',
|
|
140
|
+
'0x748f82ee5defb2fc', '0x78a5636f43172f60', '0x84c87814a1f0ab72', '0x8cc702081a6439ec',
|
|
141
|
+
'0x90befffa23631e28', '0xa4506cebde82bde9', '0xbef9a3f7b2c67915', '0xc67178f2e372532b',
|
|
142
|
+
'0xca273eceea26619c', '0xd186b8c721c0c207', '0xeada7dd6cde0eb1e', '0xf57d4f7fee6ed178',
|
|
143
|
+
'0x06f067aa72176fba', '0x0a637dc5a2c898a6', '0x113f9804bef90dae', '0x1b710b35131c471b',
|
|
144
|
+
'0x28db77f523047d84', '0x32caab7b40c72493', '0x3c9ebe0a15c9bebc', '0x431d67c49c100d4c',
|
|
145
|
+
'0x4cc5d4becb3e42b6', '0x597f299cfc657e2a', '0x5fcb6fab3ad6faec', '0x6c44198c4a475817'
|
|
146
|
+
].map(n => BigInt(n))))();
|
|
147
|
+
const SHA512_Kh = /* @__PURE__ */ (() => K512[0])();
|
|
148
|
+
const SHA512_Kl = /* @__PURE__ */ (() => K512[1])();
|
|
149
|
+
// Reusable temporary buffers
|
|
150
|
+
const SHA512_W_H = /* @__PURE__ */ new Uint32Array(80);
|
|
151
|
+
const SHA512_W_L = /* @__PURE__ */ new Uint32Array(80);
|
|
152
|
+
class SHA512 extends _md_ts_1.HashMD {
|
|
153
|
+
constructor(outputLen = 64) {
|
|
154
|
+
super(128, outputLen, 16, false);
|
|
155
|
+
// We cannot use array here since array allows indexing by variable
|
|
156
|
+
// which means optimizer/compiler cannot use registers.
|
|
157
|
+
// h -- high 32 bits, l -- low 32 bits
|
|
158
|
+
this.Ah = _md_ts_1.SHA512_IV[0] | 0;
|
|
159
|
+
this.Al = _md_ts_1.SHA512_IV[1] | 0;
|
|
160
|
+
this.Bh = _md_ts_1.SHA512_IV[2] | 0;
|
|
161
|
+
this.Bl = _md_ts_1.SHA512_IV[3] | 0;
|
|
162
|
+
this.Ch = _md_ts_1.SHA512_IV[4] | 0;
|
|
163
|
+
this.Cl = _md_ts_1.SHA512_IV[5] | 0;
|
|
164
|
+
this.Dh = _md_ts_1.SHA512_IV[6] | 0;
|
|
165
|
+
this.Dl = _md_ts_1.SHA512_IV[7] | 0;
|
|
166
|
+
this.Eh = _md_ts_1.SHA512_IV[8] | 0;
|
|
167
|
+
this.El = _md_ts_1.SHA512_IV[9] | 0;
|
|
168
|
+
this.Fh = _md_ts_1.SHA512_IV[10] | 0;
|
|
169
|
+
this.Fl = _md_ts_1.SHA512_IV[11] | 0;
|
|
170
|
+
this.Gh = _md_ts_1.SHA512_IV[12] | 0;
|
|
171
|
+
this.Gl = _md_ts_1.SHA512_IV[13] | 0;
|
|
172
|
+
this.Hh = _md_ts_1.SHA512_IV[14] | 0;
|
|
173
|
+
this.Hl = _md_ts_1.SHA512_IV[15] | 0;
|
|
174
|
+
}
|
|
175
|
+
// prettier-ignore
|
|
176
|
+
get() {
|
|
177
|
+
const { Ah, Al, Bh, Bl, Ch, Cl, Dh, Dl, Eh, El, Fh, Fl, Gh, Gl, Hh, Hl } = this;
|
|
178
|
+
return [Ah, Al, Bh, Bl, Ch, Cl, Dh, Dl, Eh, El, Fh, Fl, Gh, Gl, Hh, Hl];
|
|
179
|
+
}
|
|
180
|
+
// prettier-ignore
|
|
181
|
+
set(Ah, Al, Bh, Bl, Ch, Cl, Dh, Dl, Eh, El, Fh, Fl, Gh, Gl, Hh, Hl) {
|
|
182
|
+
this.Ah = Ah | 0;
|
|
183
|
+
this.Al = Al | 0;
|
|
184
|
+
this.Bh = Bh | 0;
|
|
185
|
+
this.Bl = Bl | 0;
|
|
186
|
+
this.Ch = Ch | 0;
|
|
187
|
+
this.Cl = Cl | 0;
|
|
188
|
+
this.Dh = Dh | 0;
|
|
189
|
+
this.Dl = Dl | 0;
|
|
190
|
+
this.Eh = Eh | 0;
|
|
191
|
+
this.El = El | 0;
|
|
192
|
+
this.Fh = Fh | 0;
|
|
193
|
+
this.Fl = Fl | 0;
|
|
194
|
+
this.Gh = Gh | 0;
|
|
195
|
+
this.Gl = Gl | 0;
|
|
196
|
+
this.Hh = Hh | 0;
|
|
197
|
+
this.Hl = Hl | 0;
|
|
198
|
+
}
|
|
199
|
+
process(view, offset) {
|
|
200
|
+
// Extend the first 16 words into the remaining 64 words w[16..79] of the message schedule array
|
|
201
|
+
for (let i = 0; i < 16; i++, offset += 4) {
|
|
202
|
+
SHA512_W_H[i] = view.getUint32(offset);
|
|
203
|
+
SHA512_W_L[i] = view.getUint32((offset += 4));
|
|
204
|
+
}
|
|
205
|
+
for (let i = 16; i < 80; i++) {
|
|
206
|
+
// s0 := (w[i-15] rightrotate 1) xor (w[i-15] rightrotate 8) xor (w[i-15] rightshift 7)
|
|
207
|
+
const W15h = SHA512_W_H[i - 15] | 0;
|
|
208
|
+
const W15l = SHA512_W_L[i - 15] | 0;
|
|
209
|
+
const s0h = u64.rotrSH(W15h, W15l, 1) ^ u64.rotrSH(W15h, W15l, 8) ^ u64.shrSH(W15h, W15l, 7);
|
|
210
|
+
const s0l = u64.rotrSL(W15h, W15l, 1) ^ u64.rotrSL(W15h, W15l, 8) ^ u64.shrSL(W15h, W15l, 7);
|
|
211
|
+
// s1 := (w[i-2] rightrotate 19) xor (w[i-2] rightrotate 61) xor (w[i-2] rightshift 6)
|
|
212
|
+
const W2h = SHA512_W_H[i - 2] | 0;
|
|
213
|
+
const W2l = SHA512_W_L[i - 2] | 0;
|
|
214
|
+
const s1h = u64.rotrSH(W2h, W2l, 19) ^ u64.rotrBH(W2h, W2l, 61) ^ u64.shrSH(W2h, W2l, 6);
|
|
215
|
+
const s1l = u64.rotrSL(W2h, W2l, 19) ^ u64.rotrBL(W2h, W2l, 61) ^ u64.shrSL(W2h, W2l, 6);
|
|
216
|
+
// SHA256_W[i] = s0 + s1 + SHA256_W[i - 7] + SHA256_W[i - 16];
|
|
217
|
+
const SUMl = u64.add4L(s0l, s1l, SHA512_W_L[i - 7], SHA512_W_L[i - 16]);
|
|
218
|
+
const SUMh = u64.add4H(SUMl, s0h, s1h, SHA512_W_H[i - 7], SHA512_W_H[i - 16]);
|
|
219
|
+
SHA512_W_H[i] = SUMh | 0;
|
|
220
|
+
SHA512_W_L[i] = SUMl | 0;
|
|
221
|
+
}
|
|
222
|
+
let { Ah, Al, Bh, Bl, Ch, Cl, Dh, Dl, Eh, El, Fh, Fl, Gh, Gl, Hh, Hl } = this;
|
|
223
|
+
// Compression function main loop, 80 rounds
|
|
224
|
+
for (let i = 0; i < 80; i++) {
|
|
225
|
+
// S1 := (e rightrotate 14) xor (e rightrotate 18) xor (e rightrotate 41)
|
|
226
|
+
const sigma1h = u64.rotrSH(Eh, El, 14) ^ u64.rotrSH(Eh, El, 18) ^ u64.rotrBH(Eh, El, 41);
|
|
227
|
+
const sigma1l = u64.rotrSL(Eh, El, 14) ^ u64.rotrSL(Eh, El, 18) ^ u64.rotrBL(Eh, El, 41);
|
|
228
|
+
//const T1 = (H + sigma1 + Chi(E, F, G) + SHA256_K[i] + SHA256_W[i]) | 0;
|
|
229
|
+
const CHIh = (Eh & Fh) ^ (~Eh & Gh);
|
|
230
|
+
const CHIl = (El & Fl) ^ (~El & Gl);
|
|
231
|
+
// T1 = H + sigma1 + Chi(E, F, G) + SHA512_K[i] + SHA512_W[i]
|
|
232
|
+
// prettier-ignore
|
|
233
|
+
const T1ll = u64.add5L(Hl, sigma1l, CHIl, SHA512_Kl[i], SHA512_W_L[i]);
|
|
234
|
+
const T1h = u64.add5H(T1ll, Hh, sigma1h, CHIh, SHA512_Kh[i], SHA512_W_H[i]);
|
|
235
|
+
const T1l = T1ll | 0;
|
|
236
|
+
// S0 := (a rightrotate 28) xor (a rightrotate 34) xor (a rightrotate 39)
|
|
237
|
+
const sigma0h = u64.rotrSH(Ah, Al, 28) ^ u64.rotrBH(Ah, Al, 34) ^ u64.rotrBH(Ah, Al, 39);
|
|
238
|
+
const sigma0l = u64.rotrSL(Ah, Al, 28) ^ u64.rotrBL(Ah, Al, 34) ^ u64.rotrBL(Ah, Al, 39);
|
|
239
|
+
const MAJh = (Ah & Bh) ^ (Ah & Ch) ^ (Bh & Ch);
|
|
240
|
+
const MAJl = (Al & Bl) ^ (Al & Cl) ^ (Bl & Cl);
|
|
241
|
+
Hh = Gh | 0;
|
|
242
|
+
Hl = Gl | 0;
|
|
243
|
+
Gh = Fh | 0;
|
|
244
|
+
Gl = Fl | 0;
|
|
245
|
+
Fh = Eh | 0;
|
|
246
|
+
Fl = El | 0;
|
|
247
|
+
({ h: Eh, l: El } = u64.add(Dh | 0, Dl | 0, T1h | 0, T1l | 0));
|
|
248
|
+
Dh = Ch | 0;
|
|
249
|
+
Dl = Cl | 0;
|
|
250
|
+
Ch = Bh | 0;
|
|
251
|
+
Cl = Bl | 0;
|
|
252
|
+
Bh = Ah | 0;
|
|
253
|
+
Bl = Al | 0;
|
|
254
|
+
const All = u64.add3L(T1l, sigma0l, MAJl);
|
|
255
|
+
Ah = u64.add3H(All, T1h, sigma0h, MAJh);
|
|
256
|
+
Al = All | 0;
|
|
257
|
+
}
|
|
258
|
+
// Add the compressed chunk to the current hash value
|
|
259
|
+
({ h: Ah, l: Al } = u64.add(this.Ah | 0, this.Al | 0, Ah | 0, Al | 0));
|
|
260
|
+
({ h: Bh, l: Bl } = u64.add(this.Bh | 0, this.Bl | 0, Bh | 0, Bl | 0));
|
|
261
|
+
({ h: Ch, l: Cl } = u64.add(this.Ch | 0, this.Cl | 0, Ch | 0, Cl | 0));
|
|
262
|
+
({ h: Dh, l: Dl } = u64.add(this.Dh | 0, this.Dl | 0, Dh | 0, Dl | 0));
|
|
263
|
+
({ h: Eh, l: El } = u64.add(this.Eh | 0, this.El | 0, Eh | 0, El | 0));
|
|
264
|
+
({ h: Fh, l: Fl } = u64.add(this.Fh | 0, this.Fl | 0, Fh | 0, Fl | 0));
|
|
265
|
+
({ h: Gh, l: Gl } = u64.add(this.Gh | 0, this.Gl | 0, Gh | 0, Gl | 0));
|
|
266
|
+
({ h: Hh, l: Hl } = u64.add(this.Hh | 0, this.Hl | 0, Hh | 0, Hl | 0));
|
|
267
|
+
this.set(Ah, Al, Bh, Bl, Ch, Cl, Dh, Dl, Eh, El, Fh, Fl, Gh, Gl, Hh, Hl);
|
|
268
|
+
}
|
|
269
|
+
roundClean() {
|
|
270
|
+
(0, utils_ts_1.clean)(SHA512_W_H, SHA512_W_L);
|
|
271
|
+
}
|
|
272
|
+
destroy() {
|
|
273
|
+
(0, utils_ts_1.clean)(this.buffer);
|
|
274
|
+
this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
exports.SHA512 = SHA512;
|
|
278
|
+
class SHA384 extends SHA512 {
|
|
279
|
+
constructor() {
|
|
280
|
+
super(48);
|
|
281
|
+
this.Ah = _md_ts_1.SHA384_IV[0] | 0;
|
|
282
|
+
this.Al = _md_ts_1.SHA384_IV[1] | 0;
|
|
283
|
+
this.Bh = _md_ts_1.SHA384_IV[2] | 0;
|
|
284
|
+
this.Bl = _md_ts_1.SHA384_IV[3] | 0;
|
|
285
|
+
this.Ch = _md_ts_1.SHA384_IV[4] | 0;
|
|
286
|
+
this.Cl = _md_ts_1.SHA384_IV[5] | 0;
|
|
287
|
+
this.Dh = _md_ts_1.SHA384_IV[6] | 0;
|
|
288
|
+
this.Dl = _md_ts_1.SHA384_IV[7] | 0;
|
|
289
|
+
this.Eh = _md_ts_1.SHA384_IV[8] | 0;
|
|
290
|
+
this.El = _md_ts_1.SHA384_IV[9] | 0;
|
|
291
|
+
this.Fh = _md_ts_1.SHA384_IV[10] | 0;
|
|
292
|
+
this.Fl = _md_ts_1.SHA384_IV[11] | 0;
|
|
293
|
+
this.Gh = _md_ts_1.SHA384_IV[12] | 0;
|
|
294
|
+
this.Gl = _md_ts_1.SHA384_IV[13] | 0;
|
|
295
|
+
this.Hh = _md_ts_1.SHA384_IV[14] | 0;
|
|
296
|
+
this.Hl = _md_ts_1.SHA384_IV[15] | 0;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
exports.SHA384 = SHA384;
|
|
300
|
+
/**
|
|
301
|
+
* Truncated SHA512/256 and SHA512/224.
|
|
302
|
+
* SHA512_IV is XORed with 0xa5a5a5a5a5a5a5a5, then used as "intermediary" IV of SHA512/t.
|
|
303
|
+
* Then t hashes string to produce result IV.
|
|
304
|
+
* See `test/misc/sha2-gen-iv.js`.
|
|
305
|
+
*/
|
|
306
|
+
/** SHA512/224 IV */
|
|
307
|
+
const T224_IV = /* @__PURE__ */ Uint32Array.from([
|
|
308
|
+
0x8c3d37c8, 0x19544da2, 0x73e19966, 0x89dcd4d6, 0x1dfab7ae, 0x32ff9c82, 0x679dd514, 0x582f9fcf,
|
|
309
|
+
0x0f6d2b69, 0x7bd44da8, 0x77e36f73, 0x04c48942, 0x3f9d85a8, 0x6a1d36c8, 0x1112e6ad, 0x91d692a1,
|
|
310
|
+
]);
|
|
311
|
+
/** SHA512/256 IV */
|
|
312
|
+
const T256_IV = /* @__PURE__ */ Uint32Array.from([
|
|
313
|
+
0x22312194, 0xfc2bf72c, 0x9f555fa3, 0xc84c64c2, 0x2393b86b, 0x6f53b151, 0x96387719, 0x5940eabd,
|
|
314
|
+
0x96283ee2, 0xa88effe3, 0xbe5e1e25, 0x53863992, 0x2b0199fc, 0x2c85b8aa, 0x0eb72ddc, 0x81c52ca2,
|
|
315
|
+
]);
|
|
316
|
+
class SHA512_224 extends SHA512 {
|
|
317
|
+
constructor() {
|
|
318
|
+
super(28);
|
|
319
|
+
this.Ah = T224_IV[0] | 0;
|
|
320
|
+
this.Al = T224_IV[1] | 0;
|
|
321
|
+
this.Bh = T224_IV[2] | 0;
|
|
322
|
+
this.Bl = T224_IV[3] | 0;
|
|
323
|
+
this.Ch = T224_IV[4] | 0;
|
|
324
|
+
this.Cl = T224_IV[5] | 0;
|
|
325
|
+
this.Dh = T224_IV[6] | 0;
|
|
326
|
+
this.Dl = T224_IV[7] | 0;
|
|
327
|
+
this.Eh = T224_IV[8] | 0;
|
|
328
|
+
this.El = T224_IV[9] | 0;
|
|
329
|
+
this.Fh = T224_IV[10] | 0;
|
|
330
|
+
this.Fl = T224_IV[11] | 0;
|
|
331
|
+
this.Gh = T224_IV[12] | 0;
|
|
332
|
+
this.Gl = T224_IV[13] | 0;
|
|
333
|
+
this.Hh = T224_IV[14] | 0;
|
|
334
|
+
this.Hl = T224_IV[15] | 0;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
exports.SHA512_224 = SHA512_224;
|
|
338
|
+
class SHA512_256 extends SHA512 {
|
|
339
|
+
constructor() {
|
|
340
|
+
super(32);
|
|
341
|
+
this.Ah = T256_IV[0] | 0;
|
|
342
|
+
this.Al = T256_IV[1] | 0;
|
|
343
|
+
this.Bh = T256_IV[2] | 0;
|
|
344
|
+
this.Bl = T256_IV[3] | 0;
|
|
345
|
+
this.Ch = T256_IV[4] | 0;
|
|
346
|
+
this.Cl = T256_IV[5] | 0;
|
|
347
|
+
this.Dh = T256_IV[6] | 0;
|
|
348
|
+
this.Dl = T256_IV[7] | 0;
|
|
349
|
+
this.Eh = T256_IV[8] | 0;
|
|
350
|
+
this.El = T256_IV[9] | 0;
|
|
351
|
+
this.Fh = T256_IV[10] | 0;
|
|
352
|
+
this.Fl = T256_IV[11] | 0;
|
|
353
|
+
this.Gh = T256_IV[12] | 0;
|
|
354
|
+
this.Gl = T256_IV[13] | 0;
|
|
355
|
+
this.Hh = T256_IV[14] | 0;
|
|
356
|
+
this.Hl = T256_IV[15] | 0;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
exports.SHA512_256 = SHA512_256;
|
|
360
|
+
/**
|
|
361
|
+
* SHA2-256 hash function from RFC 4634.
|
|
362
|
+
*
|
|
363
|
+
* It is the fastest JS hash, even faster than Blake3.
|
|
364
|
+
* To break sha256 using birthday attack, attackers need to try 2^128 hashes.
|
|
365
|
+
* BTC network is doing 2^70 hashes/sec (2^95 hashes/year) as per 2025.
|
|
366
|
+
*/
|
|
367
|
+
exports.sha256 = (0, utils_ts_1.createHasher)(() => new SHA256());
|
|
368
|
+
/** SHA2-224 hash function from RFC 4634 */
|
|
369
|
+
exports.sha224 = (0, utils_ts_1.createHasher)(() => new SHA224());
|
|
370
|
+
/** SHA2-512 hash function from RFC 4634. */
|
|
371
|
+
exports.sha512 = (0, utils_ts_1.createHasher)(() => new SHA512());
|
|
372
|
+
/** SHA2-384 hash function from RFC 4634. */
|
|
373
|
+
exports.sha384 = (0, utils_ts_1.createHasher)(() => new SHA384());
|
|
374
|
+
/**
|
|
375
|
+
* SHA2-512/256 "truncated" hash function, with improved resistance to length extension attacks.
|
|
376
|
+
* See the paper on [truncated SHA512](https://eprint.iacr.org/2010/548.pdf).
|
|
377
|
+
*/
|
|
378
|
+
exports.sha512_256 = (0, utils_ts_1.createHasher)(() => new SHA512_256());
|
|
379
|
+
/**
|
|
380
|
+
* SHA2-512/224 "truncated" hash function, with improved resistance to length extension attacks.
|
|
381
|
+
* See the paper on [truncated SHA512](https://eprint.iacr.org/2010/548.pdf).
|
|
382
|
+
*/
|
|
383
|
+
exports.sha512_224 = (0, utils_ts_1.createHasher)(() => new SHA512_224());
|
|
384
|
+
//# sourceMappingURL=sha2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sha2.js","sourceRoot":"","sources":["src/sha2.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACH,qCAAwF;AACxF,iCAAiC;AACjC,yCAAmE;AAEnE;;;GAGG;AACH,kBAAkB;AAClB,MAAM,QAAQ,GAAG,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC;IAChD,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAC9F,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,UA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AU,EAAE,CAAC,CAAC;AACtF;;;GAGG;AACU,QAAA,UAAU,GAA0B,IAAA,uBAAY,EAAC,GAAG,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SHA2-256 a.k.a. sha256. In JS, it is the fastest hash, even faster than Blake3.
|
|
3
|
+
*
|
|
4
|
+
* To break sha256 using birthday attack, attackers need to try 2^128 hashes.
|
|
5
|
+
* BTC network is doing 2^70 hashes/sec (2^95 hashes/year) as per 2025.
|
|
6
|
+
*
|
|
7
|
+
* Check out [FIPS 180-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf).
|
|
8
|
+
* @module
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
11
|
+
import { SHA224 as SHA224n, sha224 as sha224n, SHA256 as SHA256n, sha256 as sha256n } from './sha2.ts';
|
|
12
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
13
|
+
export declare const SHA256: typeof SHA256n;
|
|
14
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
15
|
+
export declare const sha256: typeof sha256n;
|
|
16
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
17
|
+
export declare const SHA224: typeof SHA224n;
|
|
18
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
19
|
+
export declare const sha224: typeof sha224n;
|
|
20
|
+
//# sourceMappingURL=sha256.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sha256.d.ts","sourceRoot":"","sources":["src/sha256.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,MAAM,IAAI,OAAO,EACjB,MAAM,IAAI,OAAO,EACjB,MAAM,IAAI,OAAO,EACjB,MAAM,IAAI,OAAO,EAClB,MAAM,WAAW,CAAC;AACnB,6DAA6D;AAC7D,eAAO,MAAM,MAAM,EAAE,OAAO,OAAiB,CAAC;AAC9C,6DAA6D;AAC7D,eAAO,MAAM,MAAM,EAAE,OAAO,OAAiB,CAAC;AAC9C,6DAA6D;AAC7D,eAAO,MAAM,MAAM,EAAE,OAAO,OAAiB,CAAC;AAC9C,6DAA6D;AAC7D,eAAO,MAAM,MAAM,EAAE,OAAO,OAAiB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sha224 = exports.SHA224 = exports.sha256 = exports.SHA256 = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* SHA2-256 a.k.a. sha256. In JS, it is the fastest hash, even faster than Blake3.
|
|
6
|
+
*
|
|
7
|
+
* To break sha256 using birthday attack, attackers need to try 2^128 hashes.
|
|
8
|
+
* BTC network is doing 2^70 hashes/sec (2^95 hashes/year) as per 2025.
|
|
9
|
+
*
|
|
10
|
+
* Check out [FIPS 180-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf).
|
|
11
|
+
* @module
|
|
12
|
+
* @deprecated
|
|
13
|
+
*/
|
|
14
|
+
const sha2_ts_1 = require("./sha2.js");
|
|
15
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
16
|
+
exports.SHA256 = sha2_ts_1.SHA256;
|
|
17
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
18
|
+
exports.sha256 = sha2_ts_1.sha256;
|
|
19
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
20
|
+
exports.SHA224 = sha2_ts_1.SHA224;
|
|
21
|
+
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
22
|
+
exports.sha224 = sha2_ts_1.sha224;
|
|
23
|
+
//# sourceMappingURL=sha256.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sha256.js","sourceRoot":"","sources":["src/sha256.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACH,uCAKmB;AACnB,6DAA6D;AAChD,QAAA,MAAM,GAAmB,gBAAO,CAAC;AAC9C,6DAA6D;AAChD,QAAA,MAAM,GAAmB,gBAAO,CAAC;AAC9C,6DAA6D;AAChD,QAAA,MAAM,GAAmB,gBAAO,CAAC;AAC9C,6DAA6D;AAChD,QAAA,MAAM,GAAmB,gBAAO,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SHA3 (keccak) addons.
|
|
3
|
+
*
|
|
4
|
+
* * Full [NIST SP 800-185](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf):
|
|
5
|
+
* cSHAKE, KMAC, TupleHash, ParallelHash + XOF variants
|
|
6
|
+
* * Reduced-round Keccak [(draft)](https://datatracker.ietf.org/doc/draft-irtf-cfrg-kangarootwelve/):
|
|
7
|
+
* * 🦘 K12 aka KangarooTwelve
|
|
8
|
+
* * M14 aka MarsupilamiFourteen
|
|
9
|
+
* * TurboSHAKE
|
|
10
|
+
* * KeccakPRG: Pseudo-random generator based on Keccak [(pdf)](https://keccak.team/files/CSF-0.1.pdf)
|
|
11
|
+
* @module
|
|
12
|
+
*/
|
|
13
|
+
import { Keccak, type ShakeOpts } from './sha3.ts';
|
|
14
|
+
import { type CHashO, type CHashXO, Hash, type HashXOF, type Input } from './utils.ts';
|
|
15
|
+
export type cShakeOpts = ShakeOpts & {
|
|
16
|
+
personalization?: Input;
|
|
17
|
+
NISTfn?: Input;
|
|
18
|
+
};
|
|
19
|
+
export type ICShake = {
|
|
20
|
+
(msg: Input, opts?: cShakeOpts): Uint8Array;
|
|
21
|
+
outputLen: number;
|
|
22
|
+
blockLen: number;
|
|
23
|
+
create(opts: cShakeOpts): HashXOF<Keccak>;
|
|
24
|
+
};
|
|
25
|
+
export type ITupleHash = {
|
|
26
|
+
(messages: Input[], opts?: cShakeOpts): Uint8Array;
|
|
27
|
+
create(opts?: cShakeOpts): TupleHash;
|
|
28
|
+
};
|
|
29
|
+
export type IParHash = {
|
|
30
|
+
(message: Input, opts?: ParallelOpts): Uint8Array;
|
|
31
|
+
create(opts?: ParallelOpts): ParallelHash;
|
|
32
|
+
};
|
|
33
|
+
export declare const cshake128: ICShake;
|
|
34
|
+
export declare const cshake256: ICShake;
|
|
35
|
+
export declare class KMAC extends Keccak implements HashXOF<KMAC> {
|
|
36
|
+
constructor(blockLen: number, outputLen: number, enableXOF: boolean, key: Input, opts?: cShakeOpts);
|
|
37
|
+
protected finish(): void;
|
|
38
|
+
_cloneInto(to?: KMAC): KMAC;
|
|
39
|
+
clone(): KMAC;
|
|
40
|
+
}
|
|
41
|
+
export declare const kmac128: {
|
|
42
|
+
(key: Input, message: Input, opts?: cShakeOpts): Uint8Array;
|
|
43
|
+
create(key: Input, opts?: cShakeOpts): KMAC;
|
|
44
|
+
};
|
|
45
|
+
export declare const kmac256: {
|
|
46
|
+
(key: Input, message: Input, opts?: cShakeOpts): Uint8Array;
|
|
47
|
+
create(key: Input, opts?: cShakeOpts): KMAC;
|
|
48
|
+
};
|
|
49
|
+
export declare const kmac128xof: {
|
|
50
|
+
(key: Input, message: Input, opts?: cShakeOpts): Uint8Array;
|
|
51
|
+
create(key: Input, opts?: cShakeOpts): KMAC;
|
|
52
|
+
};
|
|
53
|
+
export declare const kmac256xof: {
|
|
54
|
+
(key: Input, message: Input, opts?: cShakeOpts): Uint8Array;
|
|
55
|
+
create(key: Input, opts?: cShakeOpts): KMAC;
|
|
56
|
+
};
|
|
57
|
+
export declare class TupleHash extends Keccak implements HashXOF<TupleHash> {
|
|
58
|
+
constructor(blockLen: number, outputLen: number, enableXOF: boolean, opts?: cShakeOpts);
|
|
59
|
+
protected finish(): void;
|
|
60
|
+
_cloneInto(to?: TupleHash): TupleHash;
|
|
61
|
+
clone(): TupleHash;
|
|
62
|
+
}
|
|
63
|
+
/** 128-bit TupleHASH. */
|
|
64
|
+
export declare const tuplehash128: ITupleHash;
|
|
65
|
+
/** 256-bit TupleHASH. */
|
|
66
|
+
export declare const tuplehash256: ITupleHash;
|
|
67
|
+
/** 128-bit TupleHASH XOF. */
|
|
68
|
+
export declare const tuplehash128xof: ITupleHash;
|
|
69
|
+
/** 256-bit TupleHASH XOF. */
|
|
70
|
+
export declare const tuplehash256xof: ITupleHash;
|
|
71
|
+
type ParallelOpts = cShakeOpts & {
|
|
72
|
+
blockLen?: number;
|
|
73
|
+
};
|
|
74
|
+
export declare class ParallelHash extends Keccak implements HashXOF<ParallelHash> {
|
|
75
|
+
private leafHash?;
|
|
76
|
+
protected leafCons: () => Hash<Keccak>;
|
|
77
|
+
private chunkPos;
|
|
78
|
+
private chunksDone;
|
|
79
|
+
private chunkLen;
|
|
80
|
+
constructor(blockLen: number, outputLen: number, leafCons: () => Hash<Keccak>, enableXOF: boolean, opts?: ParallelOpts);
|
|
81
|
+
protected finish(): void;
|
|
82
|
+
_cloneInto(to?: ParallelHash): ParallelHash;
|
|
83
|
+
destroy(): void;
|
|
84
|
+
clone(): ParallelHash;
|
|
85
|
+
}
|
|
86
|
+
/** 128-bit ParallelHash. In JS, it is not parallel. */
|
|
87
|
+
export declare const parallelhash128: IParHash;
|
|
88
|
+
/** 256-bit ParallelHash. In JS, it is not parallel. */
|
|
89
|
+
export declare const parallelhash256: IParHash;
|
|
90
|
+
/** 128-bit ParallelHash XOF. In JS, it is not parallel. */
|
|
91
|
+
export declare const parallelhash128xof: IParHash;
|
|
92
|
+
/** 256-bit ParallelHash. In JS, it is not parallel. */
|
|
93
|
+
export declare const parallelhash256xof: IParHash;
|
|
94
|
+
export type TurboshakeOpts = ShakeOpts & {
|
|
95
|
+
D?: number;
|
|
96
|
+
};
|
|
97
|
+
/** TurboSHAKE 128-bit: reduced 12-round keccak. */
|
|
98
|
+
export declare const turboshake128: CHashXO;
|
|
99
|
+
/** TurboSHAKE 256-bit: reduced 12-round keccak. */
|
|
100
|
+
export declare const turboshake256: CHashXO;
|
|
101
|
+
export type KangarooOpts = {
|
|
102
|
+
dkLen?: number;
|
|
103
|
+
personalization?: Input;
|
|
104
|
+
};
|
|
105
|
+
export declare class KangarooTwelve extends Keccak implements HashXOF<KangarooTwelve> {
|
|
106
|
+
readonly chunkLen = 8192;
|
|
107
|
+
private leafHash?;
|
|
108
|
+
protected leafLen: number;
|
|
109
|
+
private personalization;
|
|
110
|
+
private chunkPos;
|
|
111
|
+
private chunksDone;
|
|
112
|
+
constructor(blockLen: number, leafLen: number, outputLen: number, rounds: number, opts: KangarooOpts);
|
|
113
|
+
update(data: Input): this;
|
|
114
|
+
protected finish(): void;
|
|
115
|
+
destroy(): void;
|
|
116
|
+
_cloneInto(to?: KangarooTwelve): KangarooTwelve;
|
|
117
|
+
clone(): KangarooTwelve;
|
|
118
|
+
}
|
|
119
|
+
/** KangarooTwelve: reduced 12-round keccak. */
|
|
120
|
+
export declare const k12: CHashO;
|
|
121
|
+
/** MarsupilamiFourteen: reduced 14-round keccak. */
|
|
122
|
+
export declare const m14: CHashO;
|
|
123
|
+
/**
|
|
124
|
+
* More at https://github.com/XKCP/XKCP/tree/master/lib/high/Keccak/PRG.
|
|
125
|
+
*/
|
|
126
|
+
export declare class KeccakPRG extends Keccak {
|
|
127
|
+
protected rate: number;
|
|
128
|
+
constructor(capacity: number);
|
|
129
|
+
keccak(): void;
|
|
130
|
+
update(data: Input): this;
|
|
131
|
+
feed(data: Input): this;
|
|
132
|
+
protected finish(): void;
|
|
133
|
+
digestInto(_out: Uint8Array): Uint8Array;
|
|
134
|
+
fetch(bytes: number): Uint8Array;
|
|
135
|
+
forget(): void;
|
|
136
|
+
_cloneInto(to?: KeccakPRG): KeccakPRG;
|
|
137
|
+
clone(): KeccakPRG;
|
|
138
|
+
}
|
|
139
|
+
/** KeccakPRG: Pseudo-random generator based on Keccak. https://keccak.team/files/CSF-0.1.pdf */
|
|
140
|
+
export declare const keccakprg: (capacity?: number) => KeccakPRG;
|
|
141
|
+
export {};
|
|
142
|
+
//# sourceMappingURL=sha3-addons.d.ts.map
|
|
@@ -0,0 +1 @@
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