Browse Source

Add comment about key generation

vishnukvmd 2 years ago
parent
commit
589281e729
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lib/utils/crypto_util.dart

+ 3 - 0
lib/utils/crypto_util.dart

@@ -333,6 +333,9 @@ class CryptoUtil {
           s,
         );
       }
+      // Ensure that the product of these two variables
+      // (the area under the graph that determines the amount of work required)
+      // stays the same
       memLimit = (memLimit / 2).round();
       opsLimit = opsLimit * 2;
     }