cipherstash-dynamodb 0.8.3

CipherStash SDK for searchable, in-use encryption for DynamoDB
Documentation
1
2
3
4
5
6
use base64::{engine::general_purpose::URL_SAFE_NO_PAD, Engine};

/// Base64 encode the provided buffer using a URL safe scheme with no padding
pub fn b64_encode(x: impl AsRef<[u8]>) -> String {
    URL_SAFE_NO_PAD.encode(x)
}