Storing encrypted passwords in mySQL

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Nov 23 01:56:19 EST 2005


Hi John,

You have got excellent answers yet from Trevor and Sarah but you  
might consider inserting a deleteKey handler to allow the user to  
correct his entry :-)

Best Regards from Paris,

Eric Chatonet.

Le 23 nov. 05 à 05:57, John Tregea a écrit :

> I am hoping for a suggestion or two on a "simple" way to encrypt a  
> text
> string for storage in mySql. I have built a login dialog (on a  
> card) and
> hide what the user types like this
>
> on openfield
>   global gThePass
>   put empty into gThePass
>   pass openfield
> end openfield
>
>
> on keydown thekey
>   global gThePass
>   put thekey after gThePass
>   put "*" after field "Password"
>   exit keydown
> end keydown
>
> on returninfield
>   global gTheUser
>   put empty into fld "password"
>   send mouseup to btn "Login"
>   exit returninfield
> end returninfield

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list