summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2012-07-08 15:58:24 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2012-07-08 15:58:24 +0000
commit4d53f9cdd193f54fe8ce85711f0515f729de1aa9 (patch)
tree5f1387bc9eccf99e7136f91c1c7b8fd7d2f8487a /bin
parent1e99a982bf61474116b384a877df3f23d2fe5249 (diff)
The algorithm name is "SHA-256" as per FIPS 180-2 (-3).
Diffstat (limited to 'bin')
-rw-r--r--bin/md5/sha256.110
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/md5/sha256.1 b/bin/md5/sha256.1
index 5a7b9d2714b..76ff987c583 100644
--- a/bin/md5/sha256.1
+++ b/bin/md5/sha256.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha256.1,v 1.4 2012/02/26 19:15:20 haesbaert Exp $
+.\" $OpenBSD: sha256.1,v 1.5 2012/07/08 15:58:23 naddy Exp $
.\"
.\" Copyright (c) 2003, 2004, 2006 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: February 26 2012 $
+.Dd $Mdocdate: July 8 2012 $
.Dt SHA256 1
.Os
.Sh NAME
@@ -39,7 +39,7 @@ two messages having the same message digest, or to produce any
message having a given prespecified target message digest.
.Pp
The
-.Em SHA2-256
+.Em SHA-256
algorithm is intended for digital signature applications, where a
large file must be "compressed" in a secure manner before being
encrypted with a private (secret) key under a public-key cryptosystem
@@ -64,7 +64,7 @@ This will validate any of the supported checksums (see
If no file is given, stdin is used.
.It Fl p
Echoes stdin to stdout and appends the
-.Em SHA2-256
+.Em SHA-256
sum to stdout.
.It Fl q
Only print the checksum (quiet mode).
@@ -85,7 +85,7 @@ by 10 for each additional flag.
Runs a built-in test script.
.El
.Pp
-The SHA2-256
+The SHA-256
sum of each file listed on the command line is printed after the options
are processed.
.Pp