Reversible function of encryption AES (Advanced Encryption Standard).
1 crypt.aes.encrypt
<crypt.aes.encrypt password='password'>
<var /> !
</crypt.aes.encrypt>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Apassword | string | String that compose the password to encrypt the content. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evar | Object2Byte | Entry variables. |
Returns | |
---|---|
Type | Description |
String | Returns string with the result of the encryption. |
Exceptions
requires 1 argument
The entry parameter is not specified.
Example
Copy
<xsql-script name='test_gen_hash'> <body> <set name='m_secret'> <crypt.aes.encrypt password='aazubud2'><string>secret message</string></crypt.aes.encrypt> </set> <println>SECRET:<m_secret /></println> </body> </xsql-script>