{"id":20009851,"url":"https://github.com/plsyssec/tweetnacl-ctwasm","last_synced_at":"2026-05-09T20:10:28.970Z","repository":{"id":144629525,"uuid":"138522981","full_name":"PLSysSec/tweetnacl-ctwasm","owner":"PLSysSec","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-16T09:19:50.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-12T14:37:53.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"WebAssembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PLSysSec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-24T23:36:09.000Z","updated_at":"2018-10-16T09:19:52.000Z","dependencies_parsed_at":"2023-07-04T19:35:37.598Z","dependency_job_id":null,"html_url":"https://github.com/PLSysSec/tweetnacl-ctwasm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Ftweetnacl-ctwasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Ftweetnacl-ctwasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Ftweetnacl-ctwasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PLSysSec%2Ftweetnacl-ctwasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PLSysSec","download_url":"https://codeload.github.com/PLSysSec/tweetnacl-ctwasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447522,"owners_count":19964314,"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":[],"created_at":"2024-11-13T07:17:15.744Z","updated_at":"2026-05-09T20:10:28.939Z","avatar_url":"https://github.com/PLSysSec.png","language":"WebAssembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TweetNacl in CT-Wasm\n\nThis repository is a fork of [TweetNacl in WebAssembly](https://github.com/TorstenStueber/TweetNacl-WebAssembly) annotated with CT-Wasm labels to ensure constant-time.\n\nThis is a semi-handwritten port of the crypto library TweetNacl to CT-Wasm. This is the fastest library for end-to-end encryption running in the browser. It provides state of the art strong cryptography.\n\nIt provides the following features:\n\n- Secret-key authenticated encryption\n\t- implements XSalsa20, Poly1305\n- Public-key authenticatd encryption\n\t- implements X25519, XSalsa20, Poly1305\n- Public-key signatures\n\t- implements Ed25519\n- Hashing\n\t- implements SHA512\n\nThe CT-Wasm source code can be found in the `src/wat/*` directory. \n\n### Build\n\nRun\n```bash\nnpm run build -- path/to/ct_wasm_spec\n```\nto build the JavaScript file `dist/wasmCode.js`.\nThe `ct_wasm_spec` tool can be found in our\n[pre-built releases](https://github.com/PLSysSec/ct-wasm-spec/releases/tag/artifact)\nunder `*_binaries.zip`. \nA pre-built version of the library \ncan be found there as well under `tweetnacl-ctwasm.zip`.\n\n### Run\n\nOpen `index.html` with the modified Chromium binary found in our [releases page](https://github.com/PLSysSec/ct-wasm-spec/releases/tag/artifact)\nto run `dist/wasmCode.js`. Then open up the console \nto see the benchmark numbers. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplsyssec%2Ftweetnacl-ctwasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplsyssec%2Ftweetnacl-ctwasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplsyssec%2Ftweetnacl-ctwasm/lists"}