1
0
Fork 0
forked from fun/fun

Added OpenSSL RIPEMD-160 fun. (0.38.14)

This commit is contained in:
Johannes Findeisen 2026-02-19 14:19:17 +01:00
commit 6fa95f0d47
15 changed files with 144 additions and 9 deletions

View file

@ -207,6 +207,7 @@ This document provides an overview of the available VM opcodes implemented under
- OP_OPENSSL_MD5: Compute MD5 digest and return lowercase hex string; pops data:string; pushes md5:string.
- OP_OPENSSL_SHA256: Compute SHA256 digest and return lowercase hex string; pops data:string; pushes sha256:string.
- OP_OPENSSL_SHA512: Compute SHA512 digest and return lowercase hex string; pops data:string; pushes sha512:string.
- OP_OPENSSL_RIPEMD160: Compute RIPEMD160 digest and return lowercase hex string; pops data:string; pushes ripemd160:string. On OpenSSL 3.x this may require the legacy provider; if unavailable, the helper returns an empty string.
- Requires building with `-DFUN_WITH_OPENSSL=ON`. When disabled, these opcodes still exist but return an empty string to match other optional extensions fallback behavior.
## PCRE2 (Regex)