Skip to main content

decrypt_safe_storage

Function decrypt_safe_storage 

Source
pub fn decrypt_safe_storage(
    encrypted_b64: &str,
    password: Option<&str>,
    platform: Platform,
) -> Result<String, Error>
Available on crate feature desktop-session only.
Expand description

Decrypt a Safe Storage string (Linux/macOS). password is the keychain password; it is ignored for the Linux v10 basic-text backend (which uses peanuts).