Function sjcl::decrypt[][src]

pub fn decrypt(chunk: SjclBlockJson, key: String) -> Result<String, SjclError>

Decrypts a chunk of SJCL encrypted JSON with a given passphrase.