EVP_RIPEMD160(3SSL)

πŸ’– EVP_RIPEMD160 β€” bestie edition πŸ’–

okay so this is the EVP_RIPEMD160 page from the OpenSSL manual, and it's lowkey a little relic-core moment. it's short, it's sweet, it's giving "obscure hash function that still shows up in your compliance checklist" ✨


πŸŽ€ NAME πŸŽ€

EVP_ripemd160 β€” that's RIPEMD160 For EVP babes. that's the whole name. short king energy πŸ‘‘


✨ SYNOPSIS ✨

the way you summon it is literally this, copy it exactly, no improvising:

#include <openssl/evp.h>

const EVP_MD *EVP_ripemd160(void);

🌸 DESCRIPTION 🌸

so RIPEMD-160 is a cryptographic hash function that got first published in 1996 πŸŽ‚ and it belongs to the RIPEMD family β€” which stands for RACE Integrity Primitives Evaluation Message Digest, yes the whole mouthful, yes it's iconic, no we don't abbreviate it around here.

🚨 important tea: this implementation is only available with the legacy provider. legacy. provider. so if you're on a modern setup and it's not working, that's why bestie, that's the vibe check failing fr fr.
  • EVP_ripemd160() β€” this is the one and only function here. it gives you the RIPEMD-160 algorithm, which produces a 160-bit output from a given input. that's it. that's the whole thing. 160 bits of pure dedication πŸ’…

⭐ NOTES ⭐

okay besties listen up, this is the part where I hold your hand 🫢

devs should be aware of the negative performance implications of calling this function multiple times β€” like, it's not free, it's not cheap, it's giving "you're doing it the slow way."

you should consider using EVP_MD_fetch(3) together with EVP_MD-RIPEMD160(7) instead. that's the glow-up path ✨

and for the full lore, see "Performance" in crypto(7) β€” there's a whole section about it, iykyk.


πŸ’œ RETURN VALUES πŸ’œ

these functions return an EVP_MD structure that contains the implementation of the message digest.

that's it. that's the return value. a struct, holding the goods. slay πŸŽ€


🌈 CONFORMING TO 🌈

ISO/IEC 10118-3:2016 Dedicated Hash-Function 1 (RIPEMD-160).

yes that's a real standard, yes it's a lot of numbers, no you don't have to memorise it, just know it's official and certified πŸ’―


πŸ”₯ SEE ALSO πŸ”₯

go read those if you want the full cinematic universe πŸ“


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>.


and that's the page!! πŸ’– this was OpenSSL manual page EVP_RIPEMD160(3SSL), version 4.0.3, dated 2026-09-29 🌸 thanks for reading bestie, go hash responsibly, mwah πŸ’…πŸ¦‹βœ¨

πŸ“¦ where this page comes from