Crypt.DES (gb.crypt)

Static Function DES ( Password As String [ , Prefix As String ] ) As String

Encrypts the string Password with the DES algorithm by using Prefix as a prefix.

Prefix must have a size of 2 characters, from among these characters:


If Prefix is not specified, it is randomized.

The DES algorithm is far less solid than the MD5 one. So please avoid it if possible...


Use "gb.crypt" 'For Gambas Script Only

Print Crypt.DES("Password1234", "pf")