Compute SHA-1, SHA-256, SHA-384 and SHA-512 digests in hex and Base64. HMAC mode with secret key when needed.