{"_id":"@eliza-dot-aes/common","_rev":"9-c1cdae6940cc386760173c0aca80ec1b","name":"@eliza-dot-aes/common","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@eliza-dot-aes/common","version":"1.0.0","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.0","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"b7c2a5c4ae396e272a0d25bc680003a49717a1e4","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.0.tgz","fileCount":6,"integrity":"sha512-HLfklcguSDtHOMFmqjXL8St7RMURRUsKTlB6JFoqYqm5n4SG5iOKdKHuPHFaXyHrQMUaNBV5REKpJ0XuOAUX3w==","signatures":[{"sig":"MEUCIGAJe0SnWyBGpKYpMWILQ8zVdZ2VVc5Nov8nfDOWhloFAiEAsuRASJyZkgljt0eZ8sa800cN8Vn5TAdH5xC7e8yCpI0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25630},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.0.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/0318608de79cd2db6870b3fc5c5af41e/eliza-dot-aes-common-1.0.0.tgz","_integrity":"sha512-HLfklcguSDtHOMFmqjXL8St7RMURRUsKTlB6JFoqYqm5n4SG5iOKdKHuPHFaXyHrQMUaNBV5REKpJ0XuOAUX3w==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.0_1761465402224_0.43933898458043896","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@eliza-dot-aes/common","version":"1.0.1","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.1","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"d3224b32801879c794ecb8e6b6a9a33a4342f921","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.1.tgz","fileCount":8,"integrity":"sha512-Hs8n5FzHbwOE5zYEiPQ9hp5DgqSXDu6Hfc6vHfkEj1yRKZwg2M+eswqlPycwJcS9W/WRMvZQNezhiuKnrM666Q==","signatures":[{"sig":"MEUCIQDRwc7CMAChdmX69IfyyUKvwXHvua2LEZLjDSbFUHUrYQIgO3SxceFiYMvvu/Swsi4a/xJm4amaBVFvhFARel2hzC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40855},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.1.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/ff75c657c81f53a17127524f3341e3b1/eliza-dot-aes-common-1.0.1.tgz","_integrity":"sha512-Hs8n5FzHbwOE5zYEiPQ9hp5DgqSXDu6Hfc6vHfkEj1yRKZwg2M+eswqlPycwJcS9W/WRMvZQNezhiuKnrM666Q==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.1_1761467007922_0.9949870047036382","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@eliza-dot-aes/common","version":"1.0.2","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.2","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"dfbe5b0b91cf32a1ee3ef725defda0c2dad293b4","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.2.tgz","fileCount":18,"integrity":"sha512-B7ZZ+SuaHmKgZCUsP39qlAtgXrmVnYT0a9QBVvjRAml/QRaNXFFo5heSj/L7ONCJHG1VcRm/o3OvAvyzMSgGcg==","signatures":[{"sig":"MEYCIQCeJXSK9bk6u+0+fWW3Jc1nTBAMW5S7hmuEjk0oEwYHEAIhAKchDlnk/2CaFVvJii6zus2h5Q/UgSeYeDRNpKOL3BUc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50232},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.2.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/49ea4ee10ffde661c0041dcf030ebf70/eliza-dot-aes-common-1.0.2.tgz","_integrity":"sha512-B7ZZ+SuaHmKgZCUsP39qlAtgXrmVnYT0a9QBVvjRAml/QRaNXFFo5heSj/L7ONCJHG1VcRm/o3OvAvyzMSgGcg==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.2_1761467627442_0.27636763139805787","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@eliza-dot-aes/common","version":"1.0.3","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.3","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"e32eb5cd55095f0296cff9513c3a06075411390b","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.3.tgz","fileCount":18,"integrity":"sha512-u8Ki9jJl7z6jMk9P1FnSzCQZt9HFO7rD7EVDTU49mTfPtQvFcjCMr4b3ngjXw4mjAUUW4aolSjoMHJueCfta4A==","signatures":[{"sig":"MEQCIGCTJyrMWjFfhAl47K7Znm13G/hu8WjaOTB0kO7wJHcCAiAdo5aW3Yg/c/tratN/WRHYMlHVTQ7d3HlyRorgtgOpJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54358},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.3.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/4e9d87a3a17e275ee545e19f6c48e38c/eliza-dot-aes-common-1.0.3.tgz","_integrity":"sha512-u8Ki9jJl7z6jMk9P1FnSzCQZt9HFO7rD7EVDTU49mTfPtQvFcjCMr4b3ngjXw4mjAUUW4aolSjoMHJueCfta4A==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.3_1761474852062_0.39379053873964853","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@eliza-dot-aes/common","version":"1.0.4","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.4","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"b42ce95e968d38def72f5a58a0798ee466690609","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.4.tgz","fileCount":18,"integrity":"sha512-ug7B82nNbZIPlFZ8UlyiVRM3nwWI0hoLi4opbb1HGS7MsI0cQGLY96wClzB5gha6pMKvAfT61kfVUCtiXH19LA==","signatures":[{"sig":"MEUCIQC4aO9yv2uf4xh6kJM6/YQZtR15mJq2tnOMmO3Ob/fMEwIgdML3vLNyJdrqLz9fsFvlulKEddr9msiq5/kT8gi0WJQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53942},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.4.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/7ab124a200deca70c23c2167dcb8f387/eliza-dot-aes-common-1.0.4.tgz","_integrity":"sha512-ug7B82nNbZIPlFZ8UlyiVRM3nwWI0hoLi4opbb1HGS7MsI0cQGLY96wClzB5gha6pMKvAfT61kfVUCtiXH19LA==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.4_1761475990926_0.2575706569616021","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@eliza-dot-aes/common","version":"1.0.5","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.5","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"b870b2978378d67d4329057fd5e42725d895f2f9","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.5.tgz","fileCount":18,"integrity":"sha512-yXaYLiaTt9Ou5dX8jCqoG0t707Le/sn8BlELnaeyBc5q1IwsCv7H651C+e9I2oq5Q/8FwmNYDA5X2MNNqJ91BA==","signatures":[{"sig":"MEUCICGBsVKBHDIqAzmw/Z6cwU+a665CQAcTIR5erx2KQthOAiEAhSo2jakQikZUs8K0AAq53o59vRqDBtFUr0V22/zff00=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55337},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.5.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/62fedd41a39ee19d8458de5b7362b891/eliza-dot-aes-common-1.0.5.tgz","_integrity":"sha512-yXaYLiaTt9Ou5dX8jCqoG0t707Le/sn8BlELnaeyBc5q1IwsCv7H651C+e9I2oq5Q/8FwmNYDA5X2MNNqJ91BA==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.5_1761477001776_0.9396764117691121","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@eliza-dot-aes/common","version":"1.0.6","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.6","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"ba8d346db7a7751ac5abf9ddca2e480ea253e627","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.6.tgz","fileCount":18,"integrity":"sha512-Ffbi6KAAt0mU6vGR+4/j5cFrrQzJ4oHhNWDhqR/mUqcCdeHVi4WL6Pne/TsRZEfmLpUedaeACruHVoSKvhJ8WA==","signatures":[{"sig":"MEUCIQD6eT2Bg3UCqW4Yl5f0OgdguTx385wTsOqdiUnYo9XRYQIgfncz/lJayERY5riMsE+tncW6PFmSjLrZ0xbPKLIfAww=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54542},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.6.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/82c8fa5ec390b44c04f3ae3b2ad37298/eliza-dot-aes-common-1.0.6.tgz","_integrity":"sha512-Ffbi6KAAt0mU6vGR+4/j5cFrrQzJ4oHhNWDhqR/mUqcCdeHVi4WL6Pne/TsRZEfmLpUedaeACruHVoSKvhJ8WA==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.6_1761478343392_0.6310856088730268","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@eliza-dot-aes/common","version":"1.0.7","keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","_id":"@eliza-dot-aes/common@1.0.7","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"homepage":"https://github.com/weimeme/eliza-dot-aes#readme","bugs":{"url":"https://github.com/weimeme/eliza-dot-aes/issues"},"dist":{"shasum":"5ba82d7d9a8b7f4053a8dd1f72c8b3055e506b85","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.7.tgz","fileCount":18,"integrity":"sha512-7QACqXktyBfOnZnueRxpcRTRXwSsCQiwEzEAG0iEfe1pg2QGY6dFdCvfuu15ZTJAFOYElOkLV8ygFIUPJmIzpg==","signatures":[{"sig":"MEUCIQDtWkDzblOCH1y1ra8cG78msPq955iC+XLJZF9ec9hMGAIgBvHCda4JBJriioVuvc0NPBFQ/i6x8EtkLlQ/+6M5gRM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54542},"main":"lib/index.js","_from":"file:eliza-dot-aes-common-1.0.7.tgz","types":"lib/index.d.ts","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf lib","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"_resolved":"/private/var/folders/3m/smd11mdj437cp8hygdkk7d6h0000gn/T/9fdf151d79c3809c97f68d18a2958d50/eliza-dot-aes-common-1.0.7.tgz","_integrity":"sha512-7QACqXktyBfOnZnueRxpcRTRXwSsCQiwEzEAG0iEfe1pg2QGY6dFdCvfuu15ZTJAFOYElOkLV8ygFIUPJmIzpg==","repository":{"url":"git+https://github.com/weimeme/eliza-dot-aes.git","type":"git"},"_npmVersion":"10.9.3","description":"Common interfaces and utilities for Eliza-dot-AES","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.1.12","jssha":"^3.3.1","crypto":"^1.0.1","@polkadot/util-crypto":"^12.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vitest/coverage-v8":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/common_1.0.7_1761478662746_0.2955115524833569","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@eliza-dot-aes/common","version":"1.0.8","description":"Common interfaces and utilities for Eliza-dot-AES","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","clean":"rimraf lib","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run clean && pnpm run build"},"publishConfig":{"access":"public"},"keywords":["crypto","aes","encryption","common"],"author":{"name":"weimeme"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/ChainSupport /eliza-dot-aes.git"},"dependencies":{"@polkadot/util-crypto":"^12.0.0","crypto":"^1.0.1","jssha":"^3.3.1","zod":"^4.1.12"},"devDependencies":{"@vitest/coverage-v8":"^1.0.0","rimraf":"^5.0.0","typescript":"^5.0.0","vitest":"^1.0.0"},"_id":"@eliza-dot-aes/common@1.0.8","gitHead":"48f61100085a1fe7bd7fde9e473e9194dbe14ff5","bugs":{"url":"https://github.com/ChainSupport /eliza-dot-aes/issues"},"homepage":"https://github.com/ChainSupport /eliza-dot-aes#readme","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-tvIPnRwFudxvp9IW+J6l2UGfjJ+d0hA4L3aAsIqTlb6puW/6lUp4fZP0SO6eFn4GSxDdHQHomA+BlA/GE3VcKA==","shasum":"748ff1e810472e373f55c9cb19fd0938848db5e4","tarball":"https://registry.npmjs.org/@eliza-dot-aes/common/-/common-1.0.8.tgz","fileCount":17,"unpackedSize":43854,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC/LmO/Mg7TRyEV+dJ93Zs6oAPaDfVN9nWETBrDe7vFHQIhAJaefw+pKzhrTce9XkhnSC/gcUVmqdiSV4YGzSiedwML"}]},"_npmUser":{"name":"weimeme","email":"weimeme067@gmail.com"},"directories":{},"maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/common_1.0.8_1762505709824_0.3760946593082941"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-26T07:56:42.098Z","modified":"2025-11-07T08:55:10.220Z","1.0.0":"2025-10-26T07:56:42.431Z","1.0.1":"2025-10-26T08:23:28.128Z","1.0.2":"2025-10-26T08:33:47.683Z","1.0.3":"2025-10-26T10:34:12.348Z","1.0.4":"2025-10-26T10:53:11.146Z","1.0.5":"2025-10-26T11:10:01.967Z","1.0.6":"2025-10-26T11:32:23.587Z","1.0.7":"2025-10-26T11:37:42.941Z","1.0.8":"2025-11-07T08:55:10.013Z"},"bugs":{"url":"https://github.com/ChainSupport /eliza-dot-aes/issues"},"author":{"name":"weimeme"},"license":"Apache-2.0","homepage":"https://github.com/ChainSupport /eliza-dot-aes#readme","keywords":["crypto","aes","encryption","common"],"repository":{"type":"git","url":"git+https://github.com/ChainSupport /eliza-dot-aes.git"},"description":"Common interfaces and utilities for Eliza-dot-AES","maintainers":[{"name":"weimeme","email":"weimeme067@gmail.com"}],"readme":"\n# @eliza-dot-aes/common\n\nCore encryption and decryption functionality for the eliza-dot-aes library.\n\n## Features\n\n- Support customizable cryptographic backends through callback functions\n- AES-CBC encryption with HMAC-SHA512\n- Secure message padding and random prefix generation\n- TypeScript support with full type definitions\n\n## Installation\n\n```bash\npnpm add @eliza-dot-aes/common\n```\n\n## Usage\n\n### SR25519 Example\n\n```typescript\nimport { CryptMessage } from '@eliza-dot-aes/common';\nimport * as sr25519 from '@scure/sr25519';\n\n// Initialize CryptMessage with SR25519\nconst alice = await CryptMessage.build(\n    \"0x9d61b19deffd5020afb5b1a7877f2e1e0a4f5c5e0a4f5c5e0a4f5c5e0a4f5c5e\", // seed\n    \"sr25519\",\n    // Shared secret callback\n    async (privateKey: Uint8Array, publicKey: Uint8Array) => {\n        return sr25519.getSharedSecret(privateKey, publicKey);\n    },\n    // Public/Private key callback\n    async (seedOrPrivateKey: Uint8Array) => {\n        const privateKey = sr25519.secretFromSeed(seedOrPrivateKey);\n        const publicKey = sr25519.getPublicKey(privateKey);\n        return [publicKey, privateKey];\n    }\n);\n\nconst bob = await CryptMessage.build(\n    \"0x9d61b19deffd5020afb5b1a7877f2e1e0a4f5c5e0a4f5c5e0a4f5c5e0a4f5c50\", // different seed\n    \"sr25519\",\n    async (privateKey: Uint8Array, publicKey: Uint8Array) => {\n        return sr25519.getSharedSecret(privateKey, publicKey);\n    },\n    async (seedOrPrivateKey: Uint8Array) => {\n        const privateKey = sr25519.secretFromSeed(seedOrPrivateKey);\n        const publicKey = sr25519.getPublicKey(privateKey);\n        return [publicKey, privateKey];\n    }\n);\n\n// Alice encrypts a message for Bob\nconst message = \"Hello Bob! This is a secret message.\";\nconst encryptedMessage = await alice.encryptMessage(message, bob.publicKey);\n\n// Bob decrypts Alice's message\nconst decryptedMessage = await bob.decryptMessage(encryptedMessage);\nconsole.log(decryptedMessage); // \"Hello Bob! This is a secret message.\"\n```\n\n## API\n\n### CryptMessage\n\nMain class for handling encrypted message operations.\n\n#### Methods\n\n```typescript\n// Encrypt a message\nasync encryptMessage(message: string, toPublicKey: Uint8Array): Promise<string>\n\n// Decrypt a message\nasync decryptMessage(message: string): Promise<string>\n```\n\n## Security\n\n- Uses AES-256-CBC for encryption\n- Implements HMAC-SHA512 for message authentication\n- Includes random padding for message length obfuscation\n- Supports different cryptographic backends for key exchange\n\n## License\n\nApache License 2.0","readmeFilename":"README.md"}