File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
crates/bitwarden-wasm-internal/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ pub struct PureCrypto {}
15
15
// Encryption
16
16
#[ wasm_bindgen]
17
17
impl PureCrypto {
18
- # [ allow ( deprecated ) ]
19
- # [ deprecated ]
18
+ /// DEPRECATED: Use `symmetric_decrypt_string` instead.
19
+ /// Cleanup ticket: https://bitwarden.atlassian.net/browse/PM-21247
20
20
pub fn symmetric_decrypt ( enc_string : String , key : Vec < u8 > ) -> Result < String , CryptoError > {
21
21
Self :: symmetric_decrypt_string ( enc_string, key)
22
22
}
@@ -35,8 +35,8 @@ impl PureCrypto {
35
35
EncString :: from_str ( & enc_string) ?. decrypt_with_key ( & SymmetricCryptoKey :: try_from ( key) ?)
36
36
}
37
37
38
- # [ allow ( deprecated ) ]
39
- # [ deprecated ]
38
+ /// DEPRECATED: Use `symmetric_decrypt_filedata` instead.
39
+ /// Cleanup ticket: https://bitwarden.atlassian.net/browse/PM-21247
40
40
pub fn symmetric_decrypt_array_buffer (
41
41
enc_bytes : Vec < u8 > ,
42
42
key : Vec < u8 > ,
You can’t perform that action at this time.
0 commit comments