Digest Functions and Properties

In this Page

md5

DescriptionCalculates the MD5 digest and returns the value as a 32 character hex string.
Syntax
Digest.md5(value)
Example

Expression: Digest.md5("alpha")

Result: 2c1743a391305fbf367df8e4f069f9f9

sha1

DescriptionCalculates the SHA-1 digest and returns the value as a hex string.
Syntax
Digest.sha1(value)
Example

Expression: Digest.sha1("alpha")

Result: be76331b95dfc399cd776d2fc68021e0db03cc4f

sha256

DescriptionCalculates the SHA-256 digest and returns the value as a hex string.
Syntax
Digest.sha256(value)
Example

Expression: Digest.sha256("alpha")

Result: 8ed3f6ad685b959ead7022518e1af76cd816f8e8ec7ccdda1ed4018e8f2223f8


See Also