From 35f948d4a1b32765e2469cfb66c55f2edbaf2c94 Mon Sep 17 00:00:00 2001 From: nia Date: Wed, 20 Oct 2021 17:30:28 +0000 Subject: [PATCH] Update remarks on default parameters for Argon2. --- usr.bin/pwhash/pwhash.1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/pwhash/pwhash.1 b/usr.bin/pwhash/pwhash.1 index b5bc4649185b..9b835fdc84c1 100644 --- a/usr.bin/pwhash/pwhash.1 +++ b/usr.bin/pwhash/pwhash.1 @@ -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 .