 |

ENCODE - Encoding text that has been encrypted with RACE
-
TYPE - Type of encryption used: SHA-1, MD5, Base64, blowfish, hex or standard UNIX crypt. URL will create a URL-safe string that can be used in the GET or POST operation.
-
KEY - The key string used for the crypt encryption and the blowfish encryption
-
KEYID - The keyid which refers to a key defined in the httpd.conf or .htaccess file using the RACESecretKey directive
| Source: |
<define var="$strcrypt"><encode type="base64"><$password></encode></define>
<define var="$strclean"><decode type="base64"><$strcrypt></decode></define>
|
| Output: |
|
This simply takes a string, runs it through the base64 encoding scheme, and decodes it back.
|
| Source: |
Error: Improperly formatted array or hash.
|
| Output: |
|
This simply encodes a value using blowfish to transfer it from page to page safely. The hex encoding is used because the result of a blowfish encoding will give an 8-bit value. Using hex or base64, it can be made ascii-friendly.
|
|
 |