decrypt_from_storage

Function decrypt_from_storage 

Source
pub fn decrypt_from_storage(
    env: Env,
    data_map: &DataMap,
    output_file: String,
    get_chunk: JsFunction,
) -> Result<()>
Expand description

Decrypts data using a DataMap and stored chunks.

This function retrieves encrypted chunks using the provided callback, decrypts them according to the DataMap, and writes the result to a file.