sipa / bech32

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

JS Version encoder doesn't work as the python one #48

Closed Falsen closed 5 years ago

Falsen commented 5 years ago

The string: https://x.xyz/?key=abc gives:

Python gives:

lnurl1dp68gurn8ghj77pw0puh5telddjhj0tpvf3s8vj45m

JS gives:

lnurl1qqqqqqqqqqqqqqqqqqqqqqpfqpfqpxqzfqzpqq

Could someone explain this?