How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Rules - New hash functions — sha1(), md5(), and sha512()

calendar_today November 12, 2026 domain cloudflare

Cloudflare Rules supports three new hash functions: sha1() , md5() , and sha512() . Use them to compute hashes for systems that require these algorithms. Like the existing sha256() function, each accepts a string or byte array and returns raw bytes: Function Algorithm Output length md5() MD5 16 bytes sha1() SHA-1 20 bytes sha512() SHA-512 64 bytes For example, combine sha512() with encode_base64() to produce a Base64-encoded hash: encode_base64(sha512(“hello world”)) For details, refer to the sha1() , md5() , and sha512() function references.

open_in_new Read original post