dimitris Posted February 10, 2011 Report Share Posted February 10, 2011 Hello ! As I m making my own ACARS application I have come across to a strange problem. According to the RegistrationData.class.php file the password is md5 encrypted. when looking inside the db I saw this string: 4979ee3f58f9e6dbe3736952470153e6 which is 1234 converted from PHPVMS but the actual Md5 hash for the 1234 is: 81dc9bdb52d04dc20036dbd8313ed055 Can someone tell me what really happen here ? I can login with 1234 from inside the PHPVMS but my acars returns me an Invalid Log In Details error. Note1: ACARS written in VB.NET VS2010 Note2: MD5 Encryption working in my VB.NET Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 10, 2011 Administrators Report Share Posted February 10, 2011 The password is salted for extra encryption Quote Link to comment Share on other sites More sharing options...
dimitris Posted February 11, 2011 Author Report Share Posted February 11, 2011 as i can understand salt is this: http://en.wikipedia.org/wiki/Salt_%28cryptography%29 But that i can't understand is how it is encrypted? Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted February 11, 2011 Moderators Report Share Posted February 11, 2011 Hey Dimitris, I see what you mean, You need a MD5 Password Type for the login, like for exmaple. If I log in with the same password, connect to phpVMS then the password is converted into the same hash as in the phpVMS DB. I hope that clears up. I'm making my own ACARS too, been slow for a while. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 11, 2011 Administrators Report Share Posted February 11, 2011 Your login script has to use the API login, or you can find the code in the API which does it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.