encryption and decryption working for File
This commit is contained in:
parent
ef3c8e2865
commit
9246ae175f
3 changed files with 43 additions and 16 deletions
|
|
@ -54,7 +54,7 @@ Storage.prototype._write = function(k,v) {
|
|||
};
|
||||
|
||||
Storage.prototype.getEncryptedObj = function(walletId) {
|
||||
var keys = this._getWalletKeys();
|
||||
var keys = this._getWalletKeys(walletId);
|
||||
var obj = {};
|
||||
for (var i in keys) {
|
||||
var key = keys[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue