[Gambas-user] Crypt/Decrypt

Rohnny Stormo rohnny at ...1248...
Thu Jan 19 19:14:02 CET 2006


<From: Dani Santos <jdsantos1978 at ...1167...>
< Re: Crypt/Decrypt  
<2006-01-19 09:28    
<
<It depends what do you want the encryption for. If it is for
<password-check, the functions provided by the gb.crypt components are
<OK.
<
<If you want encrypt / decrypt a text with a given password, there's
<nothing implemented in the gambas components (so far I know).
<
<Anyway, if you want to encrypt/decrypt against a MySQL database, look at
<the AES_ENCRYPT, AES_DECRYPT functions, or the DES_ENCRYT, DES_DECRYPT
<functions of MySQL.
<
<I've also build a class (based on some VB code I found) that make an
<encryption / decryption using the Rynjdael Algorithm. I think is AES
<encryption.
<
<After some work, I've got it running with gambas and it's fine for me
<but it's quite slow. If you want I send it to you.
<
<Regards.
I will be very pleased for the source. Does not matter what enryption 
there is as long it's good.


To those that suggest I can type it in and check with sql, I don't want 
to type it.
I want to save it in my home folder and I don't want to save it in the 
clear.
When I start my program it log into database without username and password.


-- 
-----------------------------------------
Gambas brings Basic to Linux.
My Gambas Community http://forum.stormweb.no





More information about the User mailing list