Produces a crypt fo the reversible encryption with variant of passwords. It is represented by a pseudo-random of 40 bytes hexa.
It is used internally in the database connection passwords that are kept encrypted but must be reversible during connection to the engine.
1 crypt.encrypt
<crypt.encrypt>
<var /> !
</crypt.encrypt>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evar | Object2String | Entry variables. |
Returns | |
---|---|
Type | Description |
String |
Exceptions
requires 1 argument
The entry parameter has not been specified.
Example
Copy
<xsql-script name='string_crypt_encrypt_sample1'> <body> <set name='a'>abc</set> <println> <crypt.encrypt><a /></crypt.encrypt> </println> </body> </xsql-script>