We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f0c08 commit 7cbf5cbCopy full SHA for 7cbf5cb
crates/bitwarden-wasm-internal/src/pure_crypto.rs
@@ -15,6 +15,7 @@ pub struct PureCrypto {}
15
// Encryption
16
#[wasm_bindgen]
17
impl PureCrypto {
18
+ #[allow(deprecated)]
19
#[deprecated]
20
pub fn symmetric_decrypt(enc_string: String, key: Vec<u8>) -> Result<String, CryptoError> {
21
Self::symmetric_decrypt_string(enc_string, key)
@@ -34,6 +35,7 @@ impl PureCrypto {
34
35
EncString::from_str(&enc_string)?.decrypt_with_key(&SymmetricCryptoKey::try_from(key)?)
36
}
37
38
39
40
pub fn symmetric_decrypt_array_buffer(
41
enc_bytes: Vec<u8>,
0 commit comments