bbs-signatures:用于节点和浏览器环境的BBS +签名的实现-源码

上传者: 42164534 | 上传时间: 2021-07-16 09:40:08 | 文件大小: 285KB | 文件类型: ZIP
bbs签名 该存储库是高性能多消息数字签名算法实现的来源,该实现支持导出零知识证明,从而可以从原始签名的消息集中进行选择性公开。 是一种数字签名算法,最初源自Boneh,Boyan和Shachum的工作,后来在作为BBS +进行了改进,并在《 中的第4.3节中再次涉及。 。 BBS +签名需要一条的,该库包含对支持。 BBS +签名允许进行多消息签名,同时生成单个输出签名。 使用BBS签名,可以生成基于证明的其中只有部分原始签署的消息由证明者决定是否公开。 有关签名算法的更多详细信息,请参阅。 入门 要在项目中使用此软件包,只需运行 npm install @mattrglobal/bbs-signatures 或与 yarn add @mattrglobal/bbs-signatures 在浏览器中通过CDN使用 要通过 CDN在浏览器中使用此库,请在HTML中包含以下脚本元素

文件下载

资源详情

[{"title":"( 82 个子文件 285KB ) bbs-signatures:用于节点和浏览器环境的BBS +签名的实现-源码","children":[{"title":"bbs-signatures-master","children":[{"title":"docs","children":[{"title":"ALGORITHM.md <span style='color:#111;'> 6.47KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"mattr-logo-square.svg <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"mattr-logo-tm.svg <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"RELEASE.md <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"Cargo.lock <span style='color:#111;'> 19.01KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"pull_request_template.md <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"any-pr.yaml <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"push-master.yaml <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"push-release.yaml <span style='color:#111;'> 963B </span>","children":null,"spread":false},{"title":"codeql-analysis.yml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"sample","children":[{"title":"ts-node","children":[{"title":"package.json <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"index.ts <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 39.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"browser","children":[{"title":"index.web-sample.js <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"template.html <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 148.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jest.config.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"SECURITY.md <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"bls12381.spec.ts <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"bbs_plus.rs <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"utilities","children":[{"title":"index.ts <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"bls12381.rs <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"bbsSignature","children":[{"title":"createProof.bbsSignature.spec.ts <span style='color:#111;'> 9.72KB </span>","children":null,"spread":false},{"title":"verifyProof.bbsSignature.spec.ts <span style='color:#111;'> 14.55KB </span>","children":null,"spread":false},{"title":"sign.bbsSignature.spec.ts <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"verify.bbsSignature.spec.ts <span style='color:#111;'> 8.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"bls12381ToBbs.spec.ts <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"utils.rs <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"bbs_plus.rs <span style='color:#111;'> 10.51KB </span>","children":null,"spread":false},{"title":"bls12381.rs <span style='color:#111;'> 11.20KB </span>","children":null,"spread":false},{"title":"js","children":[{"title":"index.web.js <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"wasm_helper.js <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"util.js <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"types","children":[{"title":"BbsVerifyBlindSignContextRequest.ts <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"BbsBlindSignRequest.ts <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"BlsBbsVerifyRequest.ts <span style='color:#111;'> 984B </span>","children":null,"spread":false},{"title":"BbsKeyPair.ts <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"BbsBlindSignContextRequest.ts <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"BbsCreateProofRequest.ts <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"BbsSignRequest.ts <span style='color:#111;'> 880B </span>","children":null,"spread":false},{"title":"BbsVerifyResult.ts <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"BbsBlindSignContext.ts <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"BbsVerifyProofRequest.ts <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Bls12381ToBbsRequest.ts <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"BlsKeyPair.ts <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"BbsVerifyRequest.ts <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"BlsBbsSignRequest.ts <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"crypto_polyfill.js <span style='color:#111;'> 536B </span>","children":null,"spread":false}],"spread":false},{"title":"lib.rs <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"macros.rs <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 1020B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"bench","children":[{"title":"helper.ts <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 9.21KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 745B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.57KB </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 310.88KB </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"install-dependencies.sh <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"build-package.sh <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"install-binaryen.sh <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"test-browser.sh <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"remove-install-script.js <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"publish-unstable.sh <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"build-webpack.sh <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"build.sh <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"publish.sh <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"pack-wasm-base64.js <span style='color:#111;'> 452B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明