mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
support user encryption key
This commit is contained in:
@@ -9,13 +9,8 @@ var CipherString = function () {
|
||||
var constants = chrome.extension.getBackgroundPage().constantsService;
|
||||
|
||||
if (arguments.length >= 2) {
|
||||
// ct and optional header
|
||||
if (arguments[0] === constants.encType.AesCbc256_B64) {
|
||||
this.encryptedString = arguments[1];
|
||||
}
|
||||
else {
|
||||
this.encryptedString = arguments[0] + '.' + arguments[1];
|
||||
}
|
||||
// ct and header
|
||||
this.encryptedString = arguments[0] + '.' + arguments[1];
|
||||
|
||||
// iv
|
||||
if (arguments.length > 2 && arguments[2]) {
|
||||
|
||||
Reference in New Issue
Block a user