1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/lib
Dan Finlay de8da9ddf6 Simplify Encryptor API Surface
At least, the portion of it that we use.

Moved salting within the encryptor, so it does not need to be managed externally.

KeyringController now caches the password instead of a passwordDerivedKey, since it is ignorant of the salt.

Encryptor payload is now in a JSON format, so its portions are both base64 encoded *and* labeled appropriately.  The format is `{ "data": "0x0", "iv": "0x0", "salt": "string" }`.

Fixes #843
Fixes #859
2016-11-22 15:54:51 -08:00
..
auto-faucet.js
auto-reload.js
config-manager.js
encryptor.js Simplify Encryptor API Surface 2016-11-22 15:54:51 -08:00
extension-instance.js
extension.js
id-management.js
idStore-migrator.js
idStore.js
inpage-provider.js
is-popup-or-notification.js
message-manager.js
migrations.js
notifications.js
obj-multiplex.js
port-stream.js
random-id.js
remote-store.js
sig-util.js
stream-utils.js