ComparePassword compares a hashed password with its possible plaintext equivalent.
(hashedPassword, password []byte)
| 13 | |
| 14 | // ComparePassword compares a hashed password with its possible plaintext equivalent. |
| 15 | func ComparePassword(hashedPassword, password []byte) bool { |
| 16 | return bcrypt.CompareHashAndPassword(hashedPassword, password) == nil |
| 17 | } |
no outgoing calls
searching dependent graphs…