diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-16 01:48:12 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-16 01:48:12 +0800 |
commit | 1481a3ef8e3352eb74fa11c4f578d15d84c76de7 (patch) | |
tree | 46b87a06085fee9438eb3cfefd104e92395c2f2f /app/scripts/keyring-controller.js | |
parent | 7cba71fc5590af115997f8120ac59f1293d6e2b9 (diff) | |
download | tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.gz tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.bz2 tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.lz tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.xz tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.zst tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.zip |
Initial work on UI side
Diffstat (limited to 'app/scripts/keyring-controller.js')
-rw-r--r-- | app/scripts/keyring-controller.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index d96b9c101..5b527b0d9 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -12,6 +12,11 @@ module.exports = class KeyringController extends EventEmitter { this.keyChains = [] } + keyFromPassword(password, callback) { + deriveKeyFromPassword(password, callback); + } + + // Takes a pw and callback, returns a password-dervied key getKeyForPassword(password, callback) { let salt = this.configManager.getSalt() |