md5
Written as md5(argnum flags):options in a transform expression.
| Minimum arguments | 1 |
| Maximum arguments | 1 |
| Default arguments | 1 |
| Argument modes | SINGLE_PRIMITIVE |
Documentation
Section titled “Documentation”Generate MD5 hash digest from input string or bytes.
This transform computes the MD5 hash of the input text and returns the hexadecimal digest string. The input can be any string or bytes-like object.
Notes:
- Always returns a 32-character hexadecimal string
- Input is encoded as UTF-8 if not already bytes
- Not suitable for cryptographic purposes (use stronger hashes for security)
- Consistent output for same input across different platforms
| Flag | Letter |
|---|---|
| noncaptive_input | I |
Examples
Section titled “Examples”Basic hashing
Section titled “Basic hashing”Input args: ["hello"]Transforms: "md5:"Output: "5d41402abc4b2a76b9719d911017c592"With bytes input
Section titled “With bytes input”Input args: ["hello"]Transforms: "md5:"Output: "5d41402abc4b2a76b9719d911017c592"