add predefined orders

This commit is contained in:
Vladislav Hristov
2018-06-20 14:08:31 +03:00
parent 8e9e0df276
commit c0ec4b8fb7
23 changed files with 271 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ module.exports = (keysStorage, passphrase, algorithm = 'aes-256-cbc') => {
return key;
});
storage.save(encrypt(JSON.stringify(keysObject), algo, pass));
storage.write(encrypt(JSON.stringify(keysObject), algo, pass));
return this;
},