mplorentz on Nostr: It turns out that in order to Bech32 encode something the data needs to be in base 5. ...
It turns out that in order to Bech32 encode something the data needs to be in base 5. At least with the library I'm using. It only took me like 4 hours to figure this out. I'm still a little confused because the Bitcoin wiki includes steps for sha256 and RIPEMD-160 hashing in the encoding process, but nostr clients don't seem to do that part? https://en.bitcoin.it/wiki/Bech32