ripemd.3 (0552350ecc55f34e3385dc06abf3c9c45092b332) ripemd.3 (dc2af37d961f722d07a89e658782e15a977e5549)
1.\"
2.\" ----------------------------------------------------------------------------
3.\" "THE BEER-WARE LICENSE" (Revision 42):
4.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5.\" can do whatever you want with this stuff. If we meet some day, and you think
6.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7.\" ----------------------------------------------------------------------------
8.\"

--- 30 unchanged lines hidden (view full) ---

39.Ft "char *"
40.Fn RIPEMD160_FileChunk "const char *filename" "char *buf" "off_t offset" "off_t length"
41.Ft "char *"
42.Fn RIPEMD160_Data "const unsigned char *data" "unsigned int len" "char *buf"
43.Sh DESCRIPTION
44The
45.Li RIPEMD160_
46functions calculate a 160-bit cryptographic checksum (digest)
1.\"
2.\" ----------------------------------------------------------------------------
3.\" "THE BEER-WARE LICENSE" (Revision 42):
4.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5.\" can do whatever you want with this stuff. If we meet some day, and you think
6.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7.\" ----------------------------------------------------------------------------
8.\"

--- 30 unchanged lines hidden (view full) ---

39.Ft "char *"
40.Fn RIPEMD160_FileChunk "const char *filename" "char *buf" "off_t offset" "off_t length"
41.Ft "char *"
42.Fn RIPEMD160_Data "const unsigned char *data" "unsigned int len" "char *buf"
43.Sh DESCRIPTION
44The
45.Li RIPEMD160_
46functions calculate a 160-bit cryptographic checksum (digest)
47for any number of input bytes. A cryptographic checksum is a one-way
47for any number of input bytes.
48A cryptographic checksum is a one-way
48hash function; that is, it is computationally impractical to find
49hash function; that is, it is computationally impractical to find
49the input corresponding to a particular output. This net result is
50a ``fingerprint'' of the input-data, which doesn't disclose the actual
51input.
50the input corresponding to a particular output.
51This net result is a
52.Dq fingerprint
53of the input-data, which doesn't disclose the actual input.
52.Pp
53The
54.Fn RIPEMD160_Init ,
55.Fn RIPEMD160_Update ,
56and
57.Fn RIPEMD160_Final
54.Pp
55The
56.Fn RIPEMD160_Init ,
57.Fn RIPEMD160_Update ,
58and
59.Fn RIPEMD160_Final
58functions are the core functions. Allocate an RIPEMD160_CTX, initialize it with
60functions are the core functions.
61Allocate an
62.Vt RIPEMD160_CTX ,
63initialize it with
59.Fn RIPEMD160_Init ,
60run over the data with
61.Fn RIPEMD160_Update ,
62and finally extract the result using
63.Fn RIPEMD160_Final .
64.Pp
65The
66.Fn RIPEMD160_End

--- 70 unchanged lines hidden ---
64.Fn RIPEMD160_Init ,
65run over the data with
66.Fn RIPEMD160_Update ,
67and finally extract the result using
68.Fn RIPEMD160_Final .
69.Pp
70The
71.Fn RIPEMD160_End

--- 70 unchanged lines hidden ---