corrected libsodium function call

This commit is contained in:
Abhinav-grd 2021-02-16 17:20:53 +05:30
parent 0989d794d5
commit 85f17f0108

View file

@ -70,7 +70,7 @@ export class Crypto {
}
async decryptToUTF8(data, nonce, key) {
return libsodium.decryptString(data, nonce, key);
return libsodium.decryptToUTF8(data, nonce, key);
}
async encryptToB64(data, key) {