always add header to ciphers on encrypt

This commit is contained in:
Kyle Spearrin 2017-05-31 11:06:57 -04:00
parent 3845c55155
commit 138b57b33d
1 changed files with 0 additions and 4 deletions

View File

@ -321,10 +321,6 @@ angular
cipherString = cipherString + '|' + mac; cipherString = cipherString + '|' + mac;
} }
if (key.encType === constants.encType.AesCbc256_B64) {
return cipherString;
}
return key.encType + '.' + cipherString; return key.encType + '.' + cipherString;
}; };