Skip to content

Documenting a failed attempt : Interpreting the deep web hash as the 'ed25519' secret of a v3 onion.

License

Notifications You must be signed in to change notification settings

cicada-solvers/deep-web-hash-as-ed25519

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Failed attempt : Interpret the deep web hash as a ed25519 secret to find its associated v3 onion address

Based on https://github.com/cathugger/mkp224o/

Modified files

  • main.c : force arguments
  • worker_slow.inc.h : changes made to print the resulting onion address, and to prevent additional onions from being generated
  • ed25519/ed25519.h : function 'ed25519_seckey_expand'. Originally, this function took a random seed and created an ed25519 secret using a 512 bits hashing algorithm. Then, it altered the secret slightly.

All changes are commented.

Tests available

To select a test, use the associated compile-time define. Tests :

  • Custom hash : use -DCUSTOM_HASH="DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF"
  • Don't alter hash : use -DDONT_ALTER_HASH
  • Use reverse hash endianness : use -DREVERSE_ENDIANNESS

All onion addresses generated by this method are not reachable

Compile and generate onion address

./autogen.sh
./configure CFLAGS='-DTESTS_DEFINES_HERE -DANOTHER_TEST_DEFINE=42'
make
./mkp224o

About

Documenting a failed attempt : Interpreting the deep web hash as the 'ed25519' secret of a v3 onion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published