Callback for generation of the hash password
typedef PasswordHashGenerator = Future<String> Function(String password);