π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unnecessary conversion attempt
Manav Rathi564008693276
diff --git a/web/packages/base/crypto/libsodium.ts b/web/packages/base/crypto/libsodium.tsindex 31eb85141d..6145970972 100644--- a/web/packages/base/crypto/libsodium.ts+++ b/web/packages/base/crypto/libsodium.ts@@ -231,7 +231,7 @@ export const encryptBoxB64 = async (const nonce = sodium.randombytes_buf(sodium.crypto_secretbox_NONCEBYTES);const encryptedData = sodium.crypto_secretbox_easy(await bytes(data),- await bytes(nonce),+ nonce,await bytes(key),);return {