ramp_database.utils.check_password

ramp_database.utils.check_password(password, hashed_password)

Check if a password is the same than the hashed password.

Parameters
passwordstr or bytes

Human readable password.

hashed_passwordstr or bytes

The hashed password.

Returns
is_same_passwordbool

Return True if the two passwords are identical.