EVP_RIPEMD160(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ‘‘ EVP_RIPEMD160 (3ossl) β€” the OpenSSL manual, but make it make sense πŸ’…

okay bestie, so this is from the OpenSSL manual set (that's the 3ossl bit, iykyk) and it's literally all about one very specific little hash function. let's get into it ✨


🌸 NAME 🌸

EVP_ripemd160 β€” RIPEMD160 For EVP. that's the whole vibe, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

#include <openssl/evp.h>

const EVP_MD *EVP_ripemd160(void);

that's it. two lines. she's lowkey minimal.


πŸ’– DESCRIPTION πŸ’–

So RIPEMD-160 is a cryptographic hash function, and it was first published in 1996, which is giving vintage but make it secure 🫢. She belongs to the RIPEMD family β€” and that stands for RACE Integrity Primitives Evaluation Message Digest, which is a whole mouthful but we respect the acronym ✨.

⚠️ super important detail, don't skip it: this implementation is only available with the legacy provider. like, she's iconic but she's not in the default lineup, okurrr πŸ’…

πŸ¦‹ EVP_ripemd160() πŸ¦‹

this is the function that hands you the RIPEMD-160 algorithm β€” the one that produces a 160-bit output from a given input. 160 bits. that's the whole personality πŸ’œ.


🌈 NOTES 🌈

okay devs, listen up πŸ‘‘ β€” there's a performance thing here and it's not the fun kind. calling this function multiple times has negative performance implications, so you should consider using EVP_MD_fetch(3) with EVP_MD-RIPEMD160(7) instead. much more efficient, much more main character energy ⭐.

if you want the full tea, see "Performance" in crypto(7) for further information. iykyk 🧚


πŸ’€ RETURN VALUES πŸ’€

These functions return an EVP_MD structure that contains the implementation of the message digest. if you're like "wait, what's in an EVP_MD structure exactly", see EVP_MD_meth_new(3) for the details. it's giving "here's the receipt" 😭


πŸ”₯ CONFORMING TO πŸ”₯

ISO/IEC 10118-3:2016 Dedicated Hash-Function 1 (RIPEMD-160). she's standards-compliant and she knows it πŸ’… ✨


πŸ“ SEE ALSO πŸ“

go read those if you want the full lore πŸ“šπŸ’–


Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. legal stuff but make it cute πŸŽ€


🌸 anyway that's the whole page β€” this version of the manpage is from OpenSSL 3.5.0, dated 2026-09-25, and the original footer said EVP_RIPEMD160(3ossl) with manual name 3ossl. go forth and hash responsibly bestie, periodt πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from