ripemd(3) OpenSSL ripemd(3) NNAAMMEE RIPEMD160, RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final - RIPEMD-160 hash function SSYYNNOOPPSSIISS #include unsigned char *RIPEMD160(const unsigned char *d, unsigned long n, unsigned char *md); int RIPEMD160_Init(RIPEMD160_CTX *c); int RIPEMD160_Update(RIPEMD_CTX *c, const void *data, unsigned long len); int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); DDEESSCCRRIIPPTTIIOONN RIPEMD-160 is a cryptographic hash function with a 160 bit output. _R_I_P_E_M_D_1_6_0_(_) computes the RIPEMD-160 message digest of the nn bytes at dd and places it in mmdd (which must have space for RIPEMD160_DIGEST_LENGTH == 20 bytes of output). If mmdd is NULL, the digest is placed in a static array. The following functions may be used if the message is not completely stored in memory: _R_I_P_E_M_D_1_6_0___I_n_i_t_(_) initializes a RRIIPPEEMMDD116600__CCTTXX structure. _R_I_P_E_M_D_1_6_0___U_p_d_a_t_e_(_) can be called repeatedly with chunks of the message to be hashed (lleenn bytes at ddaattaa). _R_I_P_E_M_D_1_6_0___F_i_n_a_l_(_) places the message digest in mmdd, which must have space for RIPEMD160_DIGEST_LENGTH == 20 bytes of output, and erases the RRIIPPEEMMDD116600__CCTTXX. Applications should use the higher level functions _E_V_P___D_i_g_e_s_t_I_n_i_t(3) etc. instead of calling the hash functions directly. RREETTUURRNN VVAALLUUEESS _R_I_P_E_M_D_1_6_0_(_) returns a pointer to the hash value. _R_I_P_E_M_D_1_6_0___I_n_i_t_(_), _R_I_P_E_M_D_1_6_0___U_p_d_a_t_e_(_) and _R_I_P_E_M_D_1_6_0___F_i_n_a_l_(_) return 1 for success, 0 otherwise. CCOONNFFOORRMMIINNGG TTOO ISO/IEC 10118-3 (draft) (??) SSEEEE AALLSSOO _s_h_a(3), _h_m_a_c(3), _E_V_P___D_i_g_e_s_t_I_n_i_t(3) HHIISSTTOORRYY _R_I_P_E_M_D_1_6_0_(_), _R_I_P_E_M_D_1_6_0___I_n_i_t_(_), _R_I_P_E_M_D_1_6_0___U_p_d_a_t_e_(_) and _R_I_P_E_M_D_1_6_0___F_i_n_a_l_(_) are available since SSLeay 0.9.0. 1.0.2u 2019-12-20 ripemd(3)