Encrypts the text with the AES 256 using a password key.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $data | by value | string |
The data to be encrypted. |
|
| $password_key | by value | string |
The password key used for the encryption. |
Returns the encrypted text.