base31

Crates.iobase31
lib.rsbase31
version0.1.0
sourcesrc
created_at2022-10-26 19:54:25.124112
updated_at2022-10-26 19:54:25.124112
descriptionBase31 encoding and decoding, useful to represent large integers in a short, case-insensitive, hard-to-misread format.
homepage
repositoryhttps://github.com/btittelbach/base31-rust/
max_upload_size
id698150
size5,605
Bernhard Tittelbach (btittelbach)

documentation

README

About

Implements Base31 encoding and decoding, which is useful to represent large integers in a short, case-insensitive, alphanumeric format.

The difference to Base36 is that in Base31 certain characters that are often misread (0, 1, i, I, l, L, o, 0) are not used.

Motivation

  1. I used kmanley's excellent base31 golang lib for a while now to generate readable serial numbers
  2. ported the library to rust in process of learning rust

License

MIT

Commit count: 5

cargo fmt