MD5 implementation of PasswordEncoder.
If a null password is presented, it will be treated as an empty String ("") password.
null
String
As MD5 is a one-way hash, the salt can contain any characters.
Interface for performing authentication operations on a password.
SHA implementation of PasswordEncoder.
As SHA is a one-way hash, the salt can contain any characters.