There is an MD5 Actionscript library available, google should find it
for you.  Hmm, maybe AS2, though.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Aymen
Sent: Monday, August 18, 2008 5:21 PM
To: [email protected]
Subject: [flexcoders] Send crypted password

 

Hi there, i am trying develop a project that i need to have a
inscription form,

the user is able to subscribe with (pseudo, password, name, ..)
i need to send a encrypted password string to my MySql data base with
a MD5 hash via a php server side.

can you please propose to me a tranche of code, how can i do this ?

Note : i use HTTPService to a php file in my server, and i send params
with send method.

private function insertHandler(event:UserAddEvent):void
{
var params:Object = new Object();
params.method ="Insert";
params.userId = event.slide.userId;
params.nom = event.slide.nom;
params.prenom = event.slide.prenom;
params.pseudo = event.slide.pseudo;
params.pass = event.slide.pass; <- i want this encrypted
inserService.send(params);

Alert.show("An insert event was dispatched", "Insert event");
}

A+ 

 

Reply via email to