[Gambas-user] 'gb.crypt' component and SHA (1-2)

Kende Krisztián nemh at ...2007...
Thu Dec 26 12:33:45 CET 2013


Hi,

'gb.crypt' component is perfect if I want to check SHA-512 password match:

   Dim shahash As String

   Exec ["mkpasswd", "-m", "sha-512", "alma"] To shahash

   Print Crypt.Check("alma", Trim(shahash))

Output is 'False', so the password is correct.

But SHA-512 hash generating function isn't implemented yet, just 
simplified MD5. Can't we do something about it?

Kendek




More information about the User mailing list