Name returns the hashing method name that is used to identify which method was used to hash a given secret.
()
| 27 | // Name returns the hashing method name that is used to identify which method |
| 28 | // was used to hash a given secret. |
| 29 | Name() string |
| 30 | |
| 31 | // Hash hashes the given plain text secret. |
| 32 | Hash(plain string) (string, error) |