mirror of
https://github.com/bitcoin/bips.git
synced 2025-06-30 12:42:43 +00:00
BIP155: Small text improvements
This commit is contained in:
parent
562f1d7188
commit
6ef71b344c
@ -166,8 +166,8 @@ onion_address = base32(PUBKEY | CHECKSUM | VERSION) + ".onion"
|
||||
CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2]
|
||||
|
||||
where:
|
||||
- PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service.
|
||||
- VERSION is an one byte version field (default value '\x03')
|
||||
- PUBKEY is the 32 bytes ed25519 master pubkey of the hidden service
|
||||
- VERSION is a one byte version field (default value '\x03')
|
||||
- ".onion checksum" is a constant string
|
||||
- CHECKSUM is truncated to two bytes before inserting it in onion_address
|
||||
- H() is the SHA3-256 cryptographic hash function
|
||||
|
Loading…
x
Reference in New Issue
Block a user