https://github.com/dr-bonez/tor-v3-vanity
A TOR v3 vanity url generator designed to run on an NVIDIA GPU.
https://github.com/dr-bonez/tor-v3-vanity
cuda gpu tor v3 vanity
Last synced: 5 months ago
JSON representation
A TOR v3 vanity url generator designed to run on an NVIDIA GPU.
- Host: GitHub
- URL: https://github.com/dr-bonez/tor-v3-vanity
- Owner: dr-bonez
- License: mit
- Created: 2020-07-23T18:46:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T21:21:06.000Z (over 5 years ago)
- Last Synced: 2023-05-02T12:43:13.684Z (about 3 years ago)
- Topics: cuda, gpu, tor, v3, vanity
- Language: Rust
- Homepage: https://crates.io/crates/tor-v3-vanity
- Size: 53.7 KB
- Stars: 69
- Watchers: 1
- Forks: 15
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tor-v3-vanity
A TOR v3 vanity url generator designed to run on an NVIDIA GPU.
Disclaimer: This project is brand new and hasn't been thoroughly vetted.
Please report any bugs you find [here](https://github.com/dr-bonez/tor-v3-vanity/issues).
The program is designed to use all available cuda devices, and will automatically decide the number of threads and blocks to use.
Now supports multiple prefixes!
## Installation
- [Install Rust](https://rustup.rs)
- [Install Cuda](https://developer.nvidia.com/cuda-downloads)
- `rustup install nightly`
- `rustup target add nvptx64-nvidia-cuda`
- `cargo install ptx-linker`
- `git clone https://github.com/dr-bonez/tor-v3-vanity`
- `cd tor-v3-vanity`
- `cargo +nightly install --path .`
## Usage
- Create output dir
- `mkdir mykeys`
- Run `t3v`
- `t3v --dst mykeys/ myprefix1,myprefix2`
- Use the resulting file as your `hs_ed25519_secret_key`
- `cat mykeys/myprefixwhatever.onion > /var/lib/tor/hidden_service/hs_ed25519_secret_key`
## Bench
On my 1070ti, I get the following time estimates:
| Prefix Length | Time |
| ------------- | ---------- |
| 5 | 7 minutes |
| 6 | 3.5 hours |
| 7 | 5 days |
| 8 | 22.5 weeks |
| 9 | 14 years |