Delphi->PHP->Get encoded password?

geoff M

New member
I need a Delphi application to call a PHP script on my website using the Get method with the URL something like www.example.com/myscript.php?user=Fred&password=something. Obviously I don't want to send the password in the clear so Delphi needs to encode it (NOT hash). At the script end it needs to decode the password and then hash it as it accesses a Joomla database on the server. The database hash key/salt is not known by the Delphi application, nor should it be known - only the PHP scripts know it. The encoding/decoding key will be known by the PHP scripts and the Delphi application.

I'm not overly bothered by "unbreakable" encryption, just enough to stop the amateur hacker.

Access after the initial log-in will be using sessions etc.
Odd, the example URL was shortened. Anyway, a password field was on the end, in the form &pass=encoded.
 
Back
Top