sipa / bech32

Code snippets and analysis of the Bech32 format
191 stars 107 forks source link

hrp is ASCII character, not 5 bit words #24

Closed dcousens closed 6 years ago

dcousens commented 7 years ago

As discussed over IRC

The human-readable part, which is intended to convey the type of data or anything else that is relevant for the reader. Its validity (including the used set of characters) is application specific, but restricted to ASCII characters with values in the range 33-126.

Ref

Example: abc\x0 can be encoded, but not decoded

sipa commented 7 years ago

ACK, but needs rebase.

dcousens commented 7 years ago

rebased (sorry for delay)

dcousens commented 7 years ago

@sipa updated

dcousens commented 6 years ago

anything required here?