Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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