Revert "feat: use libsodium for all cryptography"

This reverts commit 668fe6fd33.
This commit is contained in:
thecodrr
2020-04-13 11:07:03 +05:00
parent aaf566924a
commit aaad7a4716
7 changed files with 53 additions and 30 deletions

View File

@@ -17,4 +17,10 @@ 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);
}
}