aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-10-13 00:20:57 -0400
committerJesse Luehrs <doy@tozt.net>2020-10-13 00:20:57 -0400
commit921dd17da84d4ae85d142f8b13e8098869883775 (patch)
treed24d23f7e2ea67a53ae5d949a6798105281e3452 /src
parentceb561c40e69489575248280139da513ccab17a3 (diff)
downloadrbw-921dd17da84d4ae85d142f8b13e8098869883775.tar.gz
rbw-921dd17da84d4ae85d142f8b13e8098869883775.zip
line wrapping
Diffstat (limited to 'src')
-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();