This function returns the encoded DES digest of the string using the salt as it is used to encrypt passwords under UNIX.
Note that only the first 8 characters of the string are taken into account.