Crate base64_secret
source ·Expand description
Base64 with custom alphabet
Base64 encoder/decoder with custom alphabet. The alphabet is sorted by a given key. The sorting is always deterministic.
The idea is to make it virtually impossible to decode the encoded data without the key. The harder to guess the key, the harder to decode/decode data.
This crate is not by any means cryptographically secure, it was designed to be fast and to be compatible with the slower scripting languages. Do not rely on to encrypt any sensible data, it was designed to be used as a simple obfuscation method.
Structs
Base64 encoder/decoder with custom alphabet.
Enums
Errors that can occur while decoding.