Open Strandedpirate opened 6 years ago
Number.prototype.toString is changing a base 10 number into the chosen base/radix. https://en.wikipedia.org/wiki/Radix/
This library is turning an arbitrary string into a base 32 string.
In summary, the number 14974 is different from the string "14974".
I'm getting different results between implementations. I'm missing something. Other than the fact that this implementation is using crockford's limited character set why are these two base32 encodings wildly off?