|
|
|
|
|
|
Syntax
| str_encrypt(String, urlFriendly) |
Parameters
| STRING | String | String to encrypt.
| | BOOL | urlFriendly | Optional. Default is false. Set to true if the string contains only alphanumeric and numeric characters. |
Return value
No value is returned.
Description
Encrypts a script using a basic algorithm.
This function is useful to save a password or any confidential information in the application memory. For more info: mio_data_save.
If the optional parameter urlFriendly is set to true, characters other than numeric and alphanumeric are preserved in the returned string. The string can be sent via an URL as no special character is used.
It is possible to decrypt the string from JavaScript with str_decrypt.
See also: str_decrypt |
|
|
|