https://github.com/lovesh/wasm_25519
WASM for key exchange and signing using curve25519 and ed25519
https://github.com/lovesh/wasm_25519
curve25519 curve25519-dalek ed25519 ed25519-dalek wasm
Last synced: about 2 months ago
JSON representation
WASM for key exchange and signing using curve25519 and ed25519
- Host: GitHub
- URL: https://github.com/lovesh/wasm_25519
- Owner: lovesh
- Created: 2019-12-08T14:55:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:36:18.000Z (over 3 years ago)
- Last Synced: 2025-01-30T21:20:01.286Z (over 1 year ago)
- Topics: curve25519, curve25519-dalek, ed25519, ed25519-dalek, wasm
- Language: Rust
- Size: 1.28 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WASM for key exchange and signing using curve25519 and ed25519
- Uses [Dalek's x25519](https://github.com/dalek-cryptography/x25519-dalek) for Diffie-Hellman key exchange and x25519 which is another Diffie-Hellman key exchange but follows RFC7748.
- Uses [Dalek's ed25519](https://github.com/dalek-cryptography/ed25519-dalek) for signing over ed25519 curve.
Demo UI for testing the generated wasm is present in `www` folder.
1. Run `wasm-pack build` (in root) to generate wasm code.
2. Run `npm install` and `npm run start` from `www` to start a server and visit http://localhost:8080/ to use the Demo UI.
**Note: I created this to get started with WASM so quite likely there are better ways of doing things.**