detailed base article (2023) - includes the "magic" for adding / handling padding.
uses chunks of ?? bytes instead of one "big number", thus, will work with any size.
https://ptrchm.com/posts/base32-explained
and the base32 decode/encode in the based uuid gem https://github.com/pch/based_uuid/blob/main/lib/based_uuid/base32_uuid.rb
- add split or width parameter to encode for "auto-formatting" with one call - why? why not?
- e.g
encode32( num, width: 4 )
,encode32( num, split: 4 )
- e.g
Search rubygems for base32
- https://rubygems.org/gems/base32
- https://rubygems.org/gems/base32-crockford
- https://rubygems.org/gems/base32_pure
- https://rubygems.org/gems/rfc-base32
- https://rubygems.org/gems/base32-url
- https://rubygems.org/gems/zimmermann-base32
- https://rubygems.org/gems/levinalex-base32
- https://rubygems.org/gems/base32-multi
See base32 and base58 article on wikipedia
- https://en.wikipedia.org/wiki/Base32
- https://en.wikipedia.org/wiki/Base58
- https://en.wikipedia.org/wiki/Base64
- https://en.wikipedia.org/wiki/Binary-to-text_encoding
RFC #3548 - The Base16, Base32, and Base64 Data Encodings