(_ string, input gather.Bytes, output *gather.WriteBuffer)
| 50 | } |
| 51 | |
| 52 | func (p checksumProtection) Protect(_ string, input gather.Bytes, output *gather.WriteBuffer) { |
| 53 | output.Reset() |
| 54 | hmac.Append(input, p.Secret, output) |
| 55 | } |
| 56 | |
| 57 | func (p checksumProtection) Verify(_ string, input gather.Bytes, output *gather.WriteBuffer) error { |
| 58 | output.Reset() |