encryption and decryption working for File

This commit is contained in:
Ryan X. Charles 2014-04-18 17:35:32 -03:00
commit 9246ae175f
3 changed files with 43 additions and 16 deletions

View file

@ -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];