Browse Source

Add comment about key generation

vishnukvmd 2 năm trước cách đây
mục cha
commit
589281e729
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;
     }