Reversible Decryption function AES (Advanced Encryption Standard).
1 crypt.aes.decrypt
<crypt.aes.decrypt password='password'>
<var /> !
</crypt.aes.decrypt>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Apassword | string | String that contains the used password for the decryption. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evar | Object2Byte | Entry string. |
Returns | |
---|---|
Type | Description |
String | Returns the decrypted String. |
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='aazubud2007'>This is a secret</crypt.aes.encrypt> </set> <set name='m_secret_resolved'> <crypt.aes.decrypt password='aazubud2007'> <m_secret /> </crypt.aes.decrypt> </set> <println>SECRET RESOLVED..:<m_secret_resolved /></println> </body> </xsql-script>