mkp224o/README.txt

39 lines
2.1 KiB
Plaintext
Raw Normal View History

2017-09-25 21:22:07 +02:00
mkp224o - vanity address generator for ed25519 onion services
This tool generates vanity ed25519 (hidden service version 3) onion addresses.
For context, see <https://gitweb.torproject.org/torspec.git/plain/rend-spec-v3.txt>.
REQUIREMENTS:
2017-10-06 20:05:44 +02:00
libsodium, GNU autoconf, GNU make, UNIX-like platform (currently tested in Linux and OpenBSD).
2017-09-25 21:22:07 +02:00
BUILDING:
2017-10-06 20:05:44 +02:00
`./autogen.sh` to generate configure script, if it's not there already.
`./configure` to generate makefile; in *BSD platforms you probably want to use
`./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"`.
You probably also want to pass something like "--enable-amd64-51-30k"
or "--enable-donna" to configure script for faster key generation;
run `./configure --help` to see all avaiable options.
Finally, `make` to start building (`gmake` in *BSD platforms).
2017-09-25 21:22:07 +02:00
USAGE:
Generator needs one of more filters to work.
It makes directory with secret/public keys and hostname
for each discovered service. By default root is current
2017-09-25 21:25:13 +02:00
directory, but that can be overridden with -d switch.
2017-10-06 20:05:44 +02:00
Use -s switch to enable printing of statistics, which may be useful
when benchmarking different ed25519 implementations on your machine.
2017-09-25 21:22:07 +02:00
Use -h switch to obtain all avaiable options.
2018-01-07 23:20:38 +01:00
I highly recommend reading OPTIMISATION.txt for performance-related tips.
2017-09-25 21:22:07 +02:00
CONTACT:
For bug reports/questions/whatever else, email cathugger at cock dot li.
2017-09-25 21:22:07 +02:00
ACKNOWLEDGEMENTS & LEGAL:
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
2017-09-25 22:57:27 +02:00
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
2017-09-25 21:22:07 +02:00
keccak.c is based on <https://github.com/gvanas/KeccakCodePackage/blob/master/Standalone/CompactFIPS202/Keccak-more-compact.c>.
2017-09-27 02:12:45 +02:00
ed25519/{ref10,amd64-51-30k,amd64-64-24k} are adopted from SUPERCOP <https://bench.cr.yp.to/supercop.html>.
2017-10-02 20:43:14 +02:00
ed25519/ed25519-donna adopted from <https://github.com/floodyberry/ed25519-donna>.
2017-12-31 21:43:28 +01:00
Idea used in main.c' dofastwork() is stolen from <https://github.com/Yawning/horse25519>.