I want to compute the HMAC of file A.txt and put it into file A_hmac.txt. I use openss library, now I have:
openssl dgst -hmac "myHmacKey" -out A_hmac.txt A.txt
The output, inside A_hmac.txt, is:
HMAC-SHA256(A.txt)= 5aaee07459e341752...
How do I manage to have as output only:
5aaee07459e341752...
Thanks