You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/argon2/src/lib.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,14 +67,14 @@ pub struct Options {
67
67
///
68
68
/// Value is an integer in decimal (1 to 10 digits), between 1 and (2^32)-1.
69
69
///
70
-
/// The default value is 4096, meaning a pool of 4 MiB per thread.
70
+
/// The default value is 19456, meaning a pool of 19 MiB per thread.
71
71
pubmemory_cost:Option<u32>,
72
72
73
73
/// The time cost is the amount of passes (iterations) used by the hash function. It increases hash strength at the cost of time required to compute.
74
74
///
75
75
/// Value is an integer in decimal (1 to 10 digits), between 1 and (2^32)-1.
76
76
///
77
-
/// The default value is 3.
77
+
/// The default value is 2.
78
78
pubtime_cost:Option<u32>,
79
79
80
80
/// The hash length is the length of the hash function output in bytes. Note that the resulting hash is encoded with Base 64, so the digest will be ~1/3 longer.
0 commit comments