Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libmd/ripemd.3
.\" | .\" | ||||
.\" ---------------------------------------------------------------------------- | .\" ---------------------------------------------------------------------------- | ||||
.\" "THE BEER-WARE LICENSE" (Revision 42): | .\" "THE BEER-WARE LICENSE" (Revision 42): | ||||
.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you | .\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you | ||||
.\" can do whatever you want with this stuff. If we meet some day, and you think | .\" can do whatever you want with this stuff. If we meet some day, and you think | ||||
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp | .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp | ||||
.\" ---------------------------------------------------------------------------- | .\" ---------------------------------------------------------------------------- | ||||
.\" | .\" | ||||
.\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp | .\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd April 26, 2016 | .Dd July 20, 2018 | ||||
.Dt RIPEMD 3 | .Dt RIPEMD 3 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm RIPEMD160_Init , | .Nm RIPEMD160_Init , | ||||
.Nm RIPEMD160_Update , | .Nm RIPEMD160_Update , | ||||
.Nm RIPEMD160_Final , | .Nm RIPEMD160_Final , | ||||
.Nm RIPEMD160_End , | .Nm RIPEMD160_End , | ||||
.Nm RIPEMD160_File , | .Nm RIPEMD160_File , | ||||
Show All 39 Lines | |||||
functions are the core functions. | functions are the core functions. | ||||
Allocate an | Allocate an | ||||
.Vt RIPEMD160_CTX , | .Vt RIPEMD160_CTX , | ||||
initialize it with | initialize it with | ||||
.Fn RIPEMD160_Init , | .Fn RIPEMD160_Init , | ||||
run over the data with | run over the data with | ||||
.Fn RIPEMD160_Update , | .Fn RIPEMD160_Update , | ||||
and finally extract the result using | and finally extract the result using | ||||
.Fn RIPEMD160_Final . | .Fn RIPEMD160_Final , | ||||
which will also erase the | |||||
.Vt RIPEMD160_CTX . | |||||
.Pp | .Pp | ||||
The | The | ||||
.Fn RIPEMD160_End | .Fn RIPEMD160_End | ||||
function is a wrapper for | function is a wrapper for | ||||
.Fn RIPEMD160_Final | .Fn RIPEMD160_Final | ||||
which converts the return value to a 41-character | which converts the return value to a 41-character | ||||
(including the terminating '\e0') | (including the terminating '\e0') | ||||
.Tn ASCII | .Tn ASCII | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |