[Gambas-user] How to decrypt a text? Any suggestions?

Daniel Oxley oxleyd at ...364...
Wed Jun 16 15:26:27 CEST 2004


I have been trying for a while now to re-code a class i put hacked/together 
in VB6 into Gambas.  It is a VB implementation of DES encryption.  You are 
welcome to it if you want, on the understanding that you let me have the 
gambas version in return!!!!


---------- Original Message -----------
From: Rob <sourceforge-raindog2 at ...94...>
To: gambas-user at lists.sourceforge.net
Sent: Wed, 16 Jun 2004 10:29:38 -0400
Subject: Re: [Gambas-user] How to decrypt a text? Any suggestions?

> On Wednesday 16 June 2004 09:17, Brant Wells wrote:
> > You could always come up with a quick formula based on the
> > ASCII value of the Text that you are storing.   The upside is
> > that you can always change it, etc.  However, the downside, is
> > that it can be slow if your program has to call it many times.
> 
> I think that rolling your own encryption is worse than no 
> encryption at all, because it might give someone a false sense 
> of security.  Since he's using mysql I would suggest he look at 
> the CRYPT() and PASSWORD() function calls and use them in his 
> SQL statements.
> 
> But wrapping the Unix crypt() function or MD5 hashing (both of 
> which are one way and appropriate for password authentication) 
> is really the way to go here, and shouldn't be that hard in a 
> gb.crypt component.  Not that I'm volunteering at the moment 
> since I'm still working on patching gambas so my package will 
> work (and thanks to Dries for giving me a spec file that almost 
> worked.... as long as I went "cd /usr/bin" or "cd /usr/lib" 
> first, projects would run ;)  I think I can figure it out from 
> this point....)
> 
> Rob
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, 
> CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list