| |
crypt
Format:
crypt ( string [, salt]) |
Purpose:
Calls the UNIX function for password encryption. This function does no encryption on Windows (see MD5() for an alternative).
Parameters string and salt must be strings.
For more information, read the manual page for the UNIX crypt function.
Return Values:
Returns a string. On UNIX, the string contains the result of the UNIX crypt function. On Windows, the string contains the first 14 characters of string.
Platforms: UNIX systems only.
Example:
input: | resulting output:
| <?crypt("Hello")> | xxAva79L2eoCI |
Tip:
You should use this function before storing sensitive data such as a password into a database.
See Also: MD5()
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
H.E.I. provides support, tools, and services like
Webdesign in Mannheimm,
the HTML/CSS 3D WebGL Animation Library taccgl,
3D Webdesign, and
3D Product ConfiguratorDemo
(3D Produkt Konfigurator Demo in German).
© 1996-2025 H.E.I. All Rights Reserved.
|