Skip to content

Commit 562f1d7

Browse files
committed
BIP155: Mention SHA3-256 explicitly
1 parent 60bfc4b commit 562f1d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bip-0155.mediawiki

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
170170
- VERSION is an one byte version field (default value '\x03')
171171
- ".onion checksum" is a constant string
172172
- CHECKSUM is truncated to two bytes before inserting it in onion_address
173+
- H() is the SHA3-256 cryptographic hash function
173174
</pre>
174175

175176
Tor v3 addresses MUST be sent with the <code>TORV3</code> network ID, with the 32-byte PUBKEY part in the address field. As VERSION will always be '\x03' in the case of v3 addresses, this is enough to reconstruct the onion address.

0 commit comments

Comments
 (0)