Thanks very much to everyone for the prompt replies. You are of course correct, I should have used hmac_sha256_hex instead of just sha256_hex if I want to include my own encryption key as the last argument. Otherwise, as pointed out, it just combines all the arguments into one string and then uses its own key.
Thanks once again.
In reply to Re^2: Problems with HMAC SHA-256
by agnome
in thread Problems with HMAC SHA-256
by agnome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |