Rehash MD5 password in Drupal 8 aramTue, 17/09/2019 - 12:59
Below is a simple code snippet that allows you to convert a password hashed using MD5 into the format that can be used by Drupal 8. This can be useful if you are creating users programmatically and need to re-create their password from an MD5 source.