Allows the decryption of the old SPL encoded/crypted.
1 crypt.digest.md5
<crypt.digest.md5>
<var /> !
</crypt.digest.md5>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evar | Object2Byte | Entry variables. |
Returns | |
---|---|
Type | Description |
String | Returns a String with the result of the encryption. |
Exceptions
requires 1 argument
The entry parameter has not been specified.
Remarks
Encrypt a text in MD5 code.
Example
Copy
<xsql-script name='crypt_md5_sample1'> <body> <file.chars.write encoding-src='ISO-8859-1' encoding-dst='ISO-8859-1'> <file name='file' create='true' delete='false' type='absolute' /> <string>Hello world!</string> </file.chars.write> <set name='str'> <file.chars.read> <file name='file' create='true' delete='false' type='absolute' /> </file.chars.read> </set> <set name='crypt_str'> <crypt.digest.md5> <str /> </crypt.digest.md5> </set> <println><str /></println> <println><crypt_str /></println> </body> </xsql-script>