encrypt

Function encrypt 

Source
pub async fn encrypt<K: Key, T: Object<Extra>, Extra: 'static + Send + Sync + Clone>(
    key: K,
    decrypted: T,
) -> Result<Encrypted<K, T, Extra>>