mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
user: use fixed salt to derive key for encryption
This commit is contained in:
@@ -23,7 +23,7 @@ export default class Storage {
|
||||
decrypt(password, cipher) {
|
||||
return this.storage.decrypt(password, cipher);
|
||||
}
|
||||
deriveKey(password) {
|
||||
return this.storage.deriveKey(password, null, true);
|
||||
deriveKey(password, salt) {
|
||||
return this.storage.deriveKey(password, salt, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user