Password Encryption

Results 1 to 2 of 2
  1. #1
    Apprentice AllenUchiha is offline
    MemberRank
    Jul 2012 Join Date
    11Posts

    ! Password Encryption

    Hi all, I need some help with the password algorithm.

    Account creation was easy and simple with auto registration. But, what if someone has to change their password?

    I understand that the password is encrypted using BCrypt with $2a$10. However, I was unable to get a match of the hashed password in the db and the raw password string. I've also wrote a simple PHP to encrypt the password and update the account's password, but I get an error of incorrect account information.

    Does anyone have a solution or could point out what were somethings done to the password string before it was hashed using BCrypt? Been stuck at these for the past few days... Any help would be appreciated!


  2. #2
    Enthusiast klon22 is online now
    MemberRank
    Sep 2013 Join Date
    47Posts

    Re: Password Encryption

    Attachment 163618
    pasword crypt php works 100%

    ['registrationDate'] = ((integer) (new DateTime)->format('Uu'))
    writes in this format = 1535460737272325



Advertisement