Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slowli/ed25519-quirks
Ed25519 peculiarities - now in your browser
https://github.com/slowli/ed25519-quirks
cryptography educational wasm
Last synced: 19 days ago
JSON representation
Ed25519 peculiarities - now in your browser
- Host: GitHub
- URL: https://github.com/slowli/ed25519-quirks
- Owner: slowli
- License: apache-2.0
- Created: 2018-12-20T18:03:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-13T12:15:57.000Z (about 1 month ago)
- Last Synced: 2024-10-14T10:53:59.083Z (about 1 month ago)
- Topics: cryptography, educational, wasm
- Language: Pug
- Homepage: https://quirks.ed25519.info/
- Size: 2.13 MB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ed25519 Quirks
[![Build status][ci-image]][ci-url]
[![Live website][website-image]][website-url]
[![License: Apache-2.0][license-image]][license-url][ci-image]: https://github.com/slowli/ed25519-quirks/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/slowli/ed25519-quirks/actions/workflows/ci.yml
[website-image]: https://img.shields.io/badge/website-live-blue.svg
[website-url]: https://quirks.ed25519.info/
[license-image]: https://img.shields.io/github/license/slowli/ed25519-quirks.svg
[license-url]: https://github.com/slowli/ed25519-quirks/blob/master/LICENSESingle-page web app demonstrating some of Ed25519 peculiarities. Built with the Rust/WASM toolchain
and Vue.## Running locally
You will need to install a Node / npm toolchain (preferably via a manager like [`nvm`])
and a Rust toolchain (preferably via [`rustup`]). Both toolchains should be recent; i.e., Node 20-LTS
and Rust 1.75+. You should also install [`wasm-pack`].To (re)build the WASM file and its JS bindings, execute
```shell
npm run build:wasm
```To serve the app locally with the Webpack dev server, run
```shell
npm start
```(You may need to build WASM first, it's not done automatically.)
## Testing
To run tests, use `npm run test:js` (for front-end tests) and `npm run test:wasm` (for WASM tests).
Be aware that the `test-wasm` command requires specifying browsers used for testing as flags
(e.g., `-- --firefox`).Consult [`package.json`](package.json) for the full list of linting and testing commands.
Note that Rust-related linting requires additional components (`fmt` and `clippy`) installed as a part
of the relevant toolchain.## License
Licensed under [Apache-2.0 license](LICENSE).
[`nvm`]: https://github.com/creationix/nvm
[`rustup`]: https://rustup.rs/
[`wasm-pack`]: https://rustwasm.github.io/wasm-pack/installer/