cipherstash_client::zerokms

Function encrypt

pub fn encrypt<'p, T>(
    plaintext: &'p T,
    key: DataKeyWithTag,
    dataset_id: Option<Uuid>,
) -> Result<EncryptedRecord, Error>