https://github.com/lights0123/wasm-x25519
WASM x25519 key generation, such as for use in WireGuard
https://github.com/lights0123/wasm-x25519
rust rust-wasm wasm wasm-bindgen
Last synced: about 1 month ago
JSON representation
WASM x25519 key generation, such as for use in WireGuard
- Host: GitHub
- URL: https://github.com/lights0123/wasm-x25519
- Owner: lights0123
- License: bsd-3-clause
- Created: 2020-10-20T20:44:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T03:37:50.000Z (about 5 years ago)
- Last Synced: 2025-09-21T07:10:14.343Z (9 months ago)
- Topics: rust, rust-wasm, wasm, wasm-bindgen
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wasm-x25519
[](https://www.npmjs.com/package/wasm-x25519)
### 🛠️ Build with `wasm-pack build`
```
wasm-pack build
```
### 🎁 Publish to NPM with `wasm-pack publish`
NOTE: you'll need to edit pkg/package.json to include `wasm_x25519_bg.js` under `files` before running this command
```
wasm-pack publish
```
### Local benchmarks
Local benchmarks can be run by first building with `wasm-pack build -t web`, then running `python3 -m http.server`. Then, visit http://localhost:8000 and check your browser console.