Skip to content

Crockford's Base32 encoding with checksum implemented

Notifications You must be signed in to change notification settings

pat-jpnk/Crockford-Base32

Repository files navigation

Crockford's Base32 encoding

some nice resources:

http://www.crockford.com/base32.html
https://www.youtube.com/watch?v=aUdKd0IFl34
https://www.asciitable.com/

Trying to implement a character encoding, read about this one in the book "API Design Patterns" - chpt. 6 "Resourse identification", p. 92

notes

  • this implementation could include more validation
  • this implementation relies on string manipulation, could probably be done more efficiently

requirements

  • all letters in the encoding output must be capitalized, therefore only letters that are capitalized are valid input to the decoding method

  • checksum is automatically added and checked

About

Crockford's Base32 encoding with checksum implemented

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages