Skip to main content

encrypt

Function encrypt 

Source
pub async fn encrypt(
    data: &Value,
    pair: &KeyPair,
    their_epub: Option<&str>,
) -> Result<Value, SeaError>
Expand description

Encrypt data using AES-GCM