{"id":13816991,"url":"https://github.com/jedisct1/wasm-crypto","last_synced_at":"2025-04-05T19:14:21.890Z","repository":{"id":45156851,"uuid":"161233295","full_name":"jedisct1/wasm-crypto","owner":"jedisct1","description":"A WebAssembly (via AssemblyScript) set of cryptographic primitives for building authentication and key exchange protocols.","archived":false,"fork":false,"pushed_at":"2021-12-27T18:02:42.000Z","size":503,"stargazers_count":231,"open_issues_count":1,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-09T15:50:11.825Z","etag":null,"topics":["assemblyscript","cryptography","ed25519","eddsa","wasm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jedisct1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-10T20:35:40.000Z","updated_at":"2024-04-12T08:00:40.000Z","dependencies_parsed_at":"2022-07-13T16:48:00.498Z","dependency_job_id":null,"html_url":"https://github.com/jedisct1/wasm-crypto","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fwasm-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fwasm-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fwasm-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Fwasm-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedisct1","download_url":"https://codeload.github.com/jedisct1/wasm-crypto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386266,"owners_count":20930619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assemblyscript","cryptography","ed25519","eddsa","wasm","webassembly"],"created_at":"2024-08-04T06:00:30.073Z","updated_at":"2025-04-05T19:14:21.848Z","avatar_url":"https://github.com/jedisct1.png","language":"TypeScript","funding_links":[],"categories":["Packages","TypeScript","库和框架"],"sub_categories":["TypeScript"],"readme":"[![npm version](https://badge.fury.io/js/wasm-crypto.svg)](https://www.npmjs.com/package/wasm-crypto)\n[![GitHub Actions CI](https://github.com/jedisct1/wasm-crypto/workflows/GitHub%20Actions%20CI/badge.svg)](https://github.com/jedisct1/wasm-crypto/actions)\n\n# ![wasm-crypto](https://raw.github.com/jedisct1/wasm-crypto/master/logo.png)\n\nA WebAssembly (via AssemblyScript) set of cryptographic primitives for building authentication and key exchange protocols.\n\nCurrently provides:\n\n- [RFC 8032](https://tools.ietf.org/html/rfc8032)/libsodium-compatible detached [EdDSA signatures](https://doc.libsodium.org/public-key_cryptography/public-key_signatures)\n- Ed25519 deterministic and non-deterministic signatures with cofactored verification.\n- Deterministic and non-deterministic signatures over the Ristretto group.\n- Hashing (simple + multi-parts)\n- Authentication (HMAC-SHA-512, HMAC-SHA-256)\n- Point validation, point addition, scalar multiplication with and without clamping over Edwards25519 using the standard Ed25519 point encoding.\n- Fast encoded element validation, hash-to-group, addition, scalar multiplication over the [Ristretto](https://ristretto.group) prime-order group.\n- Scalar reduction, scalar multiplication, scalar inversion mod the order of the prime-order groups for multiparty computation and oblivious pseudorandom functions.\n- Constant-time comparison and encoding.\n\n[Example use case](https://github.com/jedisct1/fastly-terrarium-examples/tree/master/access_control_example).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Fwasm-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedisct1%2Fwasm-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Fwasm-crypto/lists"}