add setFromObj and getEncryptedObj to storage classes

This is so that you can export the file from the browser and use the same file
in the wallet file from the command-line. I have made encryption work
equivalently between the browser and node.
This commit is contained in:
Ryan X. Charles 2014-04-17 18:04:56 -03:00
commit 69c5c3bc2e
8 changed files with 140 additions and 6 deletions

View file

@ -36,6 +36,7 @@
"soop": "~0.1.5",
"bitcore": "git://github.com/maraoz/bitcore.git#5e636f6b9c7f8e629b1a502025556e886c3b75e1",
"chai": "~1.9.1",
"sinon": "~1.9.1"
"sinon": "~1.9.1",
"node-cryptojs-aes": "=0.4.0"
}
}