Arguments are a string to be encrypted and an optional two-character salt string to base the encryption on.
Some operating systems support more than one type of encryption.
In fact, sometimes the standard DES encryption is replaced by an MD5 based encryption algorithm. The encryption type is triggered by the salt argument. At install time, PHP determines the capabilities of the crypt function and will accept salts for other encryption types. If you are using the supplied salt, you should be aware that the salt is generated once.