(input []byte)
| 5 | var ARGON2 = argon2.DefaultConfig() |
| 6 | |
| 7 | func Hash(input []byte) ([]byte, error) { |
| 8 | return ARGON2.HashEncoded(input) |
| 9 | } |
| 10 | func CompareHash(a []byte, b []byte) (bool, error) { |
| 11 | return argon2.VerifyEncoded(a, b) |
| 12 | } |
no outgoing calls
no test coverage detected