Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.22 KB

NOTES.md

File metadata and controls

42 lines (26 loc) · 1.22 KB

Notes

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

Todos

  • 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 )

More Base32 Libraries and Encodings

Search rubygems for base32

See base32 and base58 article on wikipedia

RFC #3548 - The Base16, Base32, and Base64 Data Encodings