I believe you dont require to encrypt if you are already sending it in HTTPS... well u can .. just to make it more secure..
check this code base out.. mebbe it will help. http://code.google.com/p/as3crypto/ regards, Varun Shetty On Mon, Aug 18, 2008 at 5:20 PM, Aymen <[EMAIL PROTECTED]> wrote: > 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+ > > >