feat: use libsodium for all cryptography

This commit is contained in:
thecodrr
2020-04-11 17:20:37 +05:00
parent 7dae60e4f0
commit 668fe6fd33
7 changed files with 30 additions and 53 deletions

View File

@@ -17,10 +17,4 @@ export default class Storage {
remove(key) {
return this.storage.remove(key);
}
encrypt(password, data) {
return this.storage.encrypt(password, data);
}
decrypt(password, cipher) {
return this.storage.decrypt(password, cipher);
}
}