pub fn decrypt(cipher_text: &[u8], password: &str) -> Result<Vec<u8>, JsValue>
Expand description

Decrypts the ciphertext with a password. The format of the ciphertext is defined by the {@link encrypt} function. Only the matching password will decrypt the ciphertext.