Create passworde hash for given password and salt.
Password must be a plain UTF-8 compatible String.
Salt must be a string in Modular Crypt Format with $ separators
for example r'$2b$06$C6UzMDM.H6dfI/f/IKxGhu'
Verify if the given password matches the given hash.
Password must be a plain UTF-8 compatible String
Hash must be provided in Modular Crypt Format. Eg.
$2y$06$doGnefu9cbLkJTn8sef7U.dynHJFe5hS6xp7vLWb2Zu7e8cOuMVmS
This includes the version, complexity and 16 bytes of salt.