encrypt_raw

Function encrypt_raw 

Source
pub async fn encrypt_raw(data: String) -> UnifiedResult<(String, String, usize)>
Expand description

Encrypts raw data.

§Arguments

  • data - The data to be encrypted.
  • errors - An ErrorArray to capture errors.
  • warnings - A WarningArray to capture warnings.

§Returns

  • uf<(String, String, usize)> - A unified result containing the encrypted data, key, and chunk size.