Re: [codenameone-discussions] Replicate php "password_hash" function

2019-05-04 Thread Shai Almog
Do you mean in the Java server side? In which server platform? The way this normally works is that the user logs in using the username/password. Then you get back an authorization token which is a static randomly generated key to access the services in the server. That saves you the need from

Re: [codenameone-discussions] Replicate php "password_hash" function

2019-05-04 Thread rdvg1962
Thanks for the reply. In my case, I have a web development in php where users are created using the password encryption function ("password_hash"). For communication with mobile devices I have a web service developed in java. It sounds logical that you send the user and password to the web

Re: [codenameone-discussions] Replicate php "password_hash" function

2019-05-03 Thread Steve Hannah
You'll generally want to keep the password hashing in your web service as a "black box". I.e. your client shouldn't know anything about it. You send the unhashed password from the client to your PHP web service. Then you can hash that password and compare it to the stored value in PHP. On Fri,

[codenameone-discussions] Replicate php "password_hash" function

2019-05-03 Thread rdvg1962
Hi I have to connect to a web platform that keeps passwords encrypted with the "password_hash ()" function of php. How can I encrypt the password in the same way using codename one. Thanks for support. -- You received this message because you are subscribed to the Google Groups "CodenameOne