cryptocoinjs / base-x

Encode/decode any base
MIT License
312 stars 75 forks source link

Base32 alphabet #66

Closed roccomuso closed 4 years ago

roccomuso commented 4 years ago

On README the indicated base32 alphabet is 0123456789ABCDEFGHJKMNPQRSTVWXYZ But it should be ABCDEFGHIJKLMNOPQRSTUVWXYZ234567.

PS. Oh I also read that uses a different encoding. So it will always return a wrong value compared to other encoders.

junderw commented 4 years ago

We are not RFC 4648 compliant, so using that alphabet might mislead users into thinking we are.

Thanks for the issue!