Rust implementation of Clockwork Base32 which is a Base32 variant inspired by Crockford's Base32.
Adding the following to the Cargo.toml in your project:
[dependencies]
clockwork-base32 = { git = "https://github.com/woxtu/rust-clockwork-base32", tag = "0.1.0" }
extern crate clockwork_base32 as base32;
assert_eq!(base32::encode("Hello, World!"), "91JPRV3F5GG5EVVJDHJ22");
assert_eq!(base32::decode("91JPRV3F5GG5EVVJDHJ22").unwrap(), "Hello, World!".as_bytes());
Copyright (c) 2020 woxtu
Licensed under the MIT license.