Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/pwhash Update remarks on default parameters for Argon2.



details:   https://anonhg.NetBSD.org/src/rev/f7f3d13ba2fb
branches:  trunk
changeset: 989931:f7f3d13ba2fb
user:      nia <nia%NetBSD.org@localhost>
date:      Wed Oct 20 17:30:28 2021 +0000

description:
Update remarks on default parameters for Argon2.

diffstat:

 usr.bin/pwhash/pwhash.1 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 922385a0e977 -r f7f3d13ba2fb usr.bin/pwhash/pwhash.1
--- a/usr.bin/pwhash/pwhash.1   Wed Oct 20 16:46:33 2021 +0000
+++ b/usr.bin/pwhash/pwhash.1   Wed Oct 20 17:30:28 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pwhash.1,v 1.10 2021/10/12 17:24:37 nia Exp $
+.\"    $NetBSD: pwhash.1,v 1.11 2021/10/20 17:30:28 nia Exp $
 .\"    $OpenBSD: encrypt.1,v 1.16 2000/11/09 17:52:07 aaron Exp $
 .\"
 .\" Copyright (c) 1996, Jason Downs.  All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd May 24, 2016
+.Dd October 20, 2021
 .Dt PWHASH 1
 .Os
 .Sh NAME
@@ -80,14 +80,14 @@
 name, three optional comma-delimited parameters may be provided,
 
 t=n Specify the number of iterations to n.
-The default is 3.
 
 m=n Specify the memory usage in KB  to n.
-The default is 4096.
 
 p=n Specify the number of threads to n.
 This is currently ignored.
-The default is 1.
+
+If unspecified, default parameters are calculated based on system
+performance and available resources.
 .It Fl s Ar salt
 Encrypt the string using DES, with the specified
 .Ar salt .



Home | Main Index | Thread Index | Old Index