cache-vault 0.1.3

Caching secret values to SQLite with encryption
Documentation
1
2
3
4
5
6
7
8
9
use base32::Alphabet::Z;

pub fn encode(data: &[u8]) -> String {
    base32::encode(Z, data)
}

pub fn decode(data: &str) -> Option<Vec<u8>> {
    base32::decode(Z, data)
}