Just check your code in any programming language to have following result
(Output: base64 encoded)
plain text = input
secret key = secret
output must be: jYmF0Et6vTLLqjd5o9qgGeDSaaIq7BWvjnKW9wLMaMY=
I use PHP, and here is my code =))
base64_encode(hash_hmac('SHA256', 'input', 'secret', true));