Skip to main content
md5(str) returns the lowercase hexadecimal MD5 hash of str.

Signature

Example

Generate a cache key for a dependency installation step based on the contents of the lock file. If the lock file has not changed since the last run, the cache key stays the same:

Notes

  • MD5 is suitable for cache keys and checksums but not for security-sensitive hashing. Use sha256 for integrity verification.
  • The output is always a 32-character lowercase hexadecimal string.