Bitcoin Forum
November 09, 2024, 12:03:43 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bech32 for Onion address V3  (Read 100 times)
andrew1carlssin (OP)
Jr. Member
*
Offline Offline

Activity: 168
Merit: 3

#Please, read:Daniel Ellsberg,-The Doomsday *wk


View Profile WWW
March 25, 2018, 03:34:56 PM
 #1

Hi,

I have used a vanity generator called mkp224o - 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

https://github.com/cathugger/mkp224o

Then I used nullius tool to convert it to bech32 address ( bech32 -e )...

the output was something like lets say ...

onion1xdnsv70edyuqrj666hlhtry2t93eq8lt565zqw2yug6sat9a5aj40mgrrtdfaz

My question is.. it a valid bitcoin address ? 

Satoshi's book editor; SCIpher - https://pdos.csail.mit.edu/archive/scigen/scipher.html
starmyc
Full Member
***
Offline Offline

Activity: 198
Merit: 130

Some random software engineer


View Profile
March 25, 2018, 03:47:06 PM
Merited by ABCbits (1)
 #2

No, they are not valid bitcoin address.

Valid bech32 bitcoin addresses are prefixed by bc (tb for testnet), and contains a witness program (which I'm sure the Tor rendezvous is not compatible with at all).

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances/addresses listing dumps: https://balances.crypto-nerdz.org/
buwaytress
Legendary
*
Offline Offline

Activity: 2982
Merit: 3692


Join the world-leading crypto sportsbook NOW!


View Profile
March 25, 2018, 03:47:28 PM
 #3

My simple answer: no. As far as I understand, the tool from nullius is for encoding/decoding - NOT for generating... so your output looks valid. It should be a bech32 encoded address (which if decoded should return to you the original address  - but that is not a valid bitcoin public address.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
andrew1carlssin (OP)
Jr. Member
*
Offline Offline

Activity: 168
Merit: 3

#Please, read:Daniel Ellsberg,-The Doomsday *wk


View Profile WWW
March 25, 2018, 04:08:12 PM
 #4

No, they are not valid bitcoin address.

Valid bech32 bitcoin addresses are prefixed by bc (tb for testnet), and contains a witness program (which I'm sure the Tor rendezvous is not compatible with at all).

Thanks, I did suspect that  Grin

Satoshi's book editor; SCIpher - https://pdos.csail.mit.edu/archive/scigen/scipher.html
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!