aboutsummaryrefslogtreecommitdiffstats
path: root/src/cipherstring.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cipherstring.rs')
-rw-r--r--src/cipherstring.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cipherstring.rs b/src/cipherstring.rs
index d8e27f0..6de4d6c 100644
--- a/src/cipherstring.rs
+++ b/src/cipherstring.rs
@@ -67,7 +67,8 @@ impl CipherString {
})
}
4 | 6 => {
- // the only difference between 4 and 6 is the HMAC256 signature appended at the end
+ // the only difference between 4 and 6 is the HMAC256
+ // signature appended at the end
// https://github.com/bitwarden/jslib/blob/785b681f61f81690de6df55159ab07ae710bcfad/src/enums/encryptionType.ts#L8
// format is: <cipher_text_b64>|<hmac_sig>
let contents = contents.split('|').next().unwrap();