1

I am using CryptSharp official version for Checking drupal password hash but I am always getting false, Libarary doesn't have any direct documentation for drupal 7 password 7 but it is saying it has drupal 7 support on nuget description.

Using this code

Crypter.CheckPassword(password, hash);

Tested for following password and hash

Crypter.CheckPassword("admin123","$S$DlagvsBQGWTktiD4cAA2IHTLFzQw7pLuH4427TAq9QxK2b3xtJBT");

but result is always false and I am able to login in drupal by same hash

Govind Malviya
  • 13,627
  • 17
  • 68
  • 94

1 Answers1

2

Drupal 7 hashing is fixed in CryptSharp 2.1 and up.

James
  • 1,874
  • 1
  • 16
  • 18