#onion #tor #regex #cryptography

app oniongen-rs

A v3 .onion vanity URL generator written in Rust

17 releases (5 breaking)

Uses new Rust 2021

new 0.6.2 Oct 1, 2022
0.5.2 Sep 4, 2022
0.4.4 Jul 30, 2022

#113 in Cryptography

Download history 36/week @ 2022-06-16 16/week @ 2022-06-23 22/week @ 2022-06-30 21/week @ 2022-07-07 14/week @ 2022-07-14 43/week @ 2022-07-21 56/week @ 2022-07-28 43/week @ 2022-08-04 36/week @ 2022-08-11 7/week @ 2022-08-18 13/week @ 2022-08-25 33/week @ 2022-09-01 29/week @ 2022-09-08 6/week @ 2022-09-15 19/week @ 2022-09-22 48/week @ 2022-09-29

117 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.60.0

Todo

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

Dependencies

~3.5MB
~68K SLoC