Further revision: Best Regards Nick --------
diff --git a/apps/progs.pl b/apps/progs.pl
index de6fdea..f385d40 100755
--- a/apps/progs.pl
+++ b/apps/progs.pl
@@ -55,7 +55,7 @@ foreach (@ARGV)
{ print $str; }
}
-foreach ("md2","md4","md5","sha","sha1","mdc2","rmd160")
+foreach
("md2","md4","md5","sha","sha1","mdc2","rmd160","sha224","sha256","sha384","sha512")
{
push(@files,$_);
printf "#ifndef
OPENSSL_NO_".uc($_)."\n\t{FUNC_TYPE_MD,\"".$_."\",dgst_main},\n#endif\n";
diff --git a/doc/apps/dgst.pod b/doc/apps/dgst.pod
index b035edf..4b3f68d 100755
--- a/doc/apps/dgst.pod
+++ b/doc/apps/dgst.pod
@@ -2,12 +2,12 @@
=head1 NAME
-dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests
+dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160, sha224, sha256, sha384,
sha512 - message digests
=head1 SYNOPSIS
B<openssl> B<dgst>
-[B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1>]
+[B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-sha224|-sha256|-sha384|-sha512|-dss1>]
[B<-c>]
[B<-d>]
[B<-hex>]
@@ -22,7 +22,7 @@ B<openssl> B<dgst>
[B<-hmac key>]
[B<file...>]
-[B<md5|md4|md2|sha1|sha|mdc2|ripemd160>]
+[B<md5|md4|md2|sha1|sha|mdc2|ripemd160|sha224|sha256|sha384|sha512>]
[B<-c>]
[B<-d>]
[B<file...>]
@@ -147,7 +147,7 @@ used.
=head1 NOTES
-The digest of choice for all new applications is SHA1. Other digests are
+The digest of choice for all new applications is SHA256. Other digests are
however still widely used.
If you wish to sign or verify data using the DSA algorithm then the dss1
________________________________
The details of this company are as follows:
G4S Technology Limited, Registered Office: Challenge House, International
Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338.
This communication may contain information which is confidential, personal
and/or privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution,
forwarding, copying or use of this communication or the information in it is
strictly prohibited.
Any personal views expressed in this e-mail are those of the individual sender
and the company does not endorse or accept responsibility for them.
Prior to taking any action based upon this e-mail message, you should seek
appropriate confirmation of its authenticity.
This e-mail has been scanned for all viruses by MessageLabs.
|
Further revision: Best Regards Nick --------
diff --git a/apps/progs.pl b/apps/progs.pl index de6fdea..f385d40 100755 --- a/apps/progs.pl +++ b/apps/progs.pl @@ -55,7 +55,7 @@ foreach (@ARGV) { print $str; } } -foreach ("md2","md4","md5","sha","sha1","mdc2","rmd160") +foreach ("md2","md4","md5","sha","sha1","mdc2","rmd160","sha224","sha256","sha384","sha512") { push(@files,$_); printf "#ifndef OPENSSL_NO_".uc($_)."\n\t{FUNC_TYPE_MD,\"".$_."\",dgst_main},\n#endif\n"; diff --git a/doc/apps/dgst.pod b/doc/apps/dgst.pod index b035edf..4b3f68d 100755 --- a/doc/apps/dgst.pod +++ b/doc/apps/dgst.pod @@ -2,12 +2,12 @@ =head1 NAME -dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests +dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160, sha224, sha256, sha384, sha512 - message digests =head1 SYNOPSIS B<openssl> B<dgst>
-[B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1>] +[B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-sha224|-sha256|-sha384|-sha512|-dss1>] [B<-c>] [B<-d>] [B<-hex>] @@ -22,7 +22,7 @@ B<openssl> B<dgst> [B<-hmac key>] [B<file...>] -[B<md5|md4|md2|sha1|sha|mdc2|ripemd160>] +[B<md5|md4|md2|sha1|sha|mdc2|ripemd160|sha224|sha256|sha384|sha512>] [B<-c>] [B<-d>] [B<file...>] @@ -147,7 +147,7 @@ used. =head1 NOTES -The digest of choice for all new applications is SHA1. Other digests are +The digest of choice for all new applications is SHA256. Other digests are however still widely used. If you wish to sign or verify data using the DSA algorithm then the dss1 The details of this company are as follows: G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338. This communication may contain information which is confidential, personal and/or privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. Any personal views expressed in this e-mail are those of the individual sender and the company does not endorse or accept responsibility for them. Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity. This e-mail has been scanned for all viruses by MessageLabs. |
