Encrypts the given text using security salt
IMPORTANT: This function will only work if openssl extension is enabled
and the .secret file exists after running php lucidframe secret:generate
| Parameters | |||
|---|---|---|---|
string
|
$text |
Text to be encrypted |
# |
| Returns | |
|---|---|
string
|
The encrypted text |