Selaa lähdekoodia

Switch to cryptobox keygen

Vishnu Mohandas 4 vuotta sitten
vanhempi
commit
1330ef07d2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/utils/crypto_util.dart

+ 1 - 1
lib/utils/crypto_util.dart

@@ -169,7 +169,7 @@ class CryptoUtil {
   }
 
   static Uint8List generateMasterKey() {
-    return Sodium.cryptoKdfKeygen();
+    return Sodium.cryptoSecretboxKeygen();
   }
 
   static Uint8List getSaltToDeriveKey() {