Method |
Description |
|
crypt_decrypt ( string $data, string $salt, boolean $encrypt = true ) : string |
Simple custom crypt/decrypt with salt. Return a encrypted or decrypted string. |
|
randomAlphaNumber ( integer $len = 8, string $extra = '#,!,.' ) : string |
Return a random string with alfa number characters. |
|
uniqcode ( string $prefix = '', string $posfix = '', integer $max_length = 64 ) : string |
Return a $max_length char unique code (in hexdecimal) with optional prefix and postfix, keep the length at $max_length. |
|