Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sir-photch/wicuvanity
Generate wireguard vanity keys on your Nvidia GPU
https://github.com/sir-photch/wicuvanity
cuda gpu vanity-address vanity-addresses vanitygen wireguard
Last synced: 2 months ago
JSON representation
Generate wireguard vanity keys on your Nvidia GPU
- Host: GitHub
- URL: https://github.com/sir-photch/wicuvanity
- Owner: Sir-Photch
- License: mit
- Created: 2024-08-09T15:00:57.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T15:51:47.000Z (5 months ago)
- Last Synced: 2024-08-10T17:36:16.802Z (5 months ago)
- Topics: cuda, gpu, vanity-address, vanity-addresses, vanitygen, wireguard
- Language: Cuda
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**moved to sourcehut:** https://git.sr.ht/~chrs/wicuvanity
# wicuvanity
Generate wireguard vanity addresses with given prefix in the public key -- on your Nvidia GPU!
## Yield comparison
### [wireguard-vanity-address](https://github.com/warner/wireguard-vanity-address)
On an i9-14900KS:
```console
$ timeout 1m wireguard-vanity-address --in 20 foo > cpu.keys
$ wc -l cpu.keys
45803 cpu.keys
```(Debug output is not subtracted here)
### wicuvanity
On a RTX 4090:
```console
$ timeout 1m wicuvanity --in 20 foo > gpu.keys
$ wc -l gpu.keys
173929 gpu.keys
```## Build
Requires up-to-date meson and cuda toolkit, as well as [cxxopts](https://github.com/jarro2783/cxxopts).
```console
$ meson setup builddir --buildtype release
$ meson install -C builddir
```## Details
- Implements curve25519 as described by Martin Kleppmann: https://martin.kleppmann.com/papers/curve25519.pdf
- Build is optimized for native GPU arch, thus, binary is not necessarily portable