[Gambas-user] Crypt/Decrypt

Laurent Carlier lordheavy at ...512...
Thu Jan 19 16:58:15 CET 2006


Le Jeudi 19 Janvier 2006 16:41, Rohnny Stormo a écrit :
> How to crypt and decrypt a string with gambas2.
>
> I have found md5(password, prefix) as string  and des(password, prefix)
> as string
> Tried to use it twice but without any luck. If there is not decryption
> the modules are useless except for MD5 and Check
> When Encrypt/Decrypt are ok, you may save password to local file more
> secure

I guess the main use of this componant is to crypt a password crypt.md5(...) 
as string and to check if the given password is the good one 
( crypt.check(...) as boolean) with the previous returned string.

It's main use isn't to decrypt a string.

-- 
jabber : lordheavy at ...943...
mail : lordheavym at ...1227...





More information about the User mailing list