Generate and check signature hashes for http requests.