Skip to main content
Version: 7.2405.xx RR

crypto

crypto:digest

byte[] crypto:digest(byte[] data, string algorithm)

Creates a cryptographic message digest of some payload data. The algorithm can be configured. The available algorithms depend on the Java runtime. MD5, SHA-1 and SHA-256 are available everywhere.

#{crypto:digest(in.user.passwordBytes, 'SHA-1')}