Skip to main content

decrypt_raw

Function decrypt_raw 

Source
pub fn decrypt_raw(
    recs_data: String,
    recs_key: String,
    recs_chunks: usize,
) -> UnifiedResult<Vec<u8>>
Expand description

Decrypts raw data.

§Arguments

  • recs_data - The encrypted data.
  • recs_key - The key for decryption.
  • recs_chunks - The number of chunks.
  • errors - An ErrorArray to capture errors.
  • warnings - A WarningArray to capture warnings.

§Returns

  • uf<OkWarning<Vec<u8>>> - A unified result containing the decrypted data or an error.