Validate checks whether the given plain text secret is equal or not to the given hashed secret.
(hashed, plain string)
| 34 | // Validate checks whether the given plain text secret is equal or not to |
| 35 | // the given hashed secret. |
| 36 | Validate(hashed, plain string) (bool, error) |
| 37 | } |
| 38 | |
| 39 | // defaultHashValidator is the default method for hashing and validating secrets. |
no outgoing calls