Produce a digest (MD5) for the irreversible and invariant passwords encryption. It is represented by a invariant of 32 bytes hexa. It is internally used in the passwords of users / groups.
 

1 crypt.digest

<crypt.digest>
    <var /> !
</crypt.digest>

Exceptions

requires 1 argument

The entry parameter has been specified.

Example

Encrypt the text 'hello', passing the argument as String and as byte[] (file.read).

Copy
<xsql-script name='string_crypt_digest_sample1'>
    <body>
        <set name='a'>abc</set>
        <println>
            <crypt.digest><a /></crypt.digest>
        </println>
    </body>
</xsql-script>