A utility that can be used to generate a signature for a JSON object and to validate such a signature