#onion #tor #regex #tor-onion #generate

app oniongen-rs

A v3 .onion vanity URL generator written in Rust

20 releases

0.6.5 Mar 11, 2023
0.6.3 Nov 5, 2022
0.4.4 Jul 30, 2022

#174 in Cryptography

Download history 167/week @ 2024-02-18 35/week @ 2024-02-25 6/week @ 2024-03-10 308/week @ 2024-03-31

314 downloads per month

MIT license

9KB
149 lines

Oniongen-rs

dependency status

A v3 .onion address vanity URL generator written in Rust.

This implementation generates random ed25519 keys on all CPU cores. If the address generated matches your prefix, the hostname, public key, and private key are written to a new directory.

Installation

You can grab the latest executables from the latest release.

You could also compile it yourself with:

$ cargo install oniongen-rs

or for bleeding edge changes:

$ git clone https://gitlab.com/iamawacko/oniongen-rs
$ cd oniongen-rs
$ cargo build --release
$ cp target/release/oniongen-rs ~/.local/bin # assuming ~/.local/bin is in your path

Usage

$ oniongen-rs -t [threads] -o [output] [regex]

Only the regex is required. The thread flag is the number of worker threads that will. The default is the number of CPU cores.. The output flag is where to output the directories. The default is the current directory.

Example

$ oniongen-rs -t 10 -o data/ ^rust

MSRV

1.64.0

Todo

  • Address Generation
  • Multi-threading
  • Banner
  • Regex Support
  • Package for Other Systems
  • Make a Docker Image

Dependencies

~5.5MB
~83K SLoC