Skip to main content

encrypt_data

Function encrypt_data 

Source
pub async fn encrypt_data(
    data: &[u8],
    key: &[u8; 32],
) -> Result<String, CryptoError>
Expand description

Encrypts data using the globally configured algorithm.