Go HMAC Validator
A generic tiny Golang package to check HMAC signatures generated by Internet Services to guarantee the HTTP request origin.
The package is served under a custom domain and a canonical import path is set in order to restrict to import this package through the github.com domain, hence for getting it you have to
go get go.fraixed.es/hmacval
Golang Version & dependencies
The library may work with a few previous Golang releases, however I haven't tested in any than 1.6.
Write some benchmarks and do an implementation of using key/value byte slice as payload than a map to compare how map type probably penalize and it may be avoided.
After I implemented this concept in a node module, I thought that would be great to have this generic HMAC validation functionality for Golang, so I took the concept and I developed it in the Go way (this is not a the NodeJS implementation translated to Go).
The same concept and similar functionality for NodeJS
MIT, read LICENSE file for more information.