Module Name: src
Committed By: nia
Date: Wed Oct 20 17:30:29 UTC 2021
Modified Files:
src/usr.bin/pwhash: pwhash.1
Log Message:
Update remarks on default parameters for Argon2.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/pwhash/pwhash.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/pwhash/pwhash.1
diff -u src/usr.bin/pwhash/pwhash.1:1.10 src/usr.bin/pwhash/pwhash.1:1.11
--- src/usr.bin/pwhash/pwhash.1:1.10 Tue Oct 12 17:24:37 2021
+++ src/usr.bin/pwhash/pwhash.1 Wed Oct 20 17:30:28 2021
@@ -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 @@ Following the required
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 .