Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

How vanilla encodes passwords?

How vanilla encodes passwords?

I saw it was in md5, but not sure, can you clarify me?

Best Answer

  • luisgzafraluisgzafra newb
    Answer ✓

    I have to use it in another script that is not vanilla, so it was like this:

    $Vanilla_PasswordHash = new PasswordHash();
    
    $a =  $Vanilla_PasswordHash->HashPassword('123456');
    echo $Vanilla_PasswordHash->CheckPassword('123456', $a, 'Vanilla');
    echo $a;
    

    Now all I have to change the subdomain HashMethod vanilla to the site, a random string or something.

    Although return different strings, it works.

    Solved, Thanks! ;)

    *How do i thank on this board? ¿Karma or something?

Answers

Sign In or Register to comment.