|
|
@ -1,4 +1,4 @@ |
|
|
|
.\" $OpenBSD: sha1.3,v 1.36 2007/05/31 19:19:29 jmc Exp $ |
|
|
|
.\" $OpenBSD: sha1.3,v 1.37 2008/02/13 08:43:39 art Exp $ |
|
|
|
.\" |
|
|
|
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com> |
|
|
|
.\" |
|
|
@ -17,7 +17,7 @@ |
|
|
|
.\" See http://csrc.nist.gov/publications/fips/fips180-1/fip180-1.txt |
|
|
|
.\" for the detailed standard |
|
|
|
.\" |
|
|
|
.Dd $Mdocdate: May 31 2007 $ |
|
|
|
.Dd $Mdocdate: February 13 2008 $ |
|
|
|
.Dt SHA1 3 |
|
|
|
.Os |
|
|
|
.Sh NAME |
|
|
@ -166,7 +166,7 @@ and should be freed using |
|
|
|
when it is no longer needed. |
|
|
|
.Sh EXAMPLES |
|
|
|
The follow code fragment will calculate the digest for |
|
|
|
the string "abc" which is ``0xa9993e36476816aba3e25717850c26c9cd0d89d''. |
|
|
|
the string "abc" which is ``0xa9993e364706816aba3e25717850c26c9cd0d89d''. |
|
|
|
.Bd -literal -offset indent |
|
|
|
SHA1_CTX sha; |
|
|
|
u_int8_t results[SHA1_DIGEST_LENGTH]; |
|
|
|