DESFingerprint()

Syntax

Result$ = DESFingerprint(Password$, Key$)
Description
This algorithm is based on the DES (Data Encryption Standard) crypt method to generates a 13 characters string. This string is mean to be unique and non-reversible implying a strong encryption, hardly crackable when the password is correctly chosen.

The Password$ can be up to 8 characters long (all further characters are simply ignored). MD5Fingerprint() can be used to hash a bigger buffer. The Key$ is also known as the 'Salt' parameter, well know from Linux/Unix/BSD users. When using a 2 characters long Key$, this function returns a 'Salt2' string, compatible which any standard linux hash password (/etc/passwd). This function is based on the opensource crypt() function.

Example:

  Debug DESFingerprint("Password", "Key007")
  Debug DESFingerprint("NewPass", "Key007")

Supported OS

All

<- CryptRandomData() - Cipher Index - ExamineMD5Fingerprint() ->