New answers tagged

1

Attacks on encryption are not attacks on MACs as they are two separate entities for different purposes. You kind of answered the question yourself. Since you don't consider the data sensitive to sniffing then you don't require encryption. However for a MAC you do run into the following issues that may require encrypting other data: key-sharing: sharing ...


2

For establishing the message integrity, yes, HMAC-SHA should be fine. The one concern you might have is in the case of a man-in-the-middle attack where the message might be intercepted, the counter changed, the HMAC regenerated and the modified message passed on to the original recipient. In this case you could look at using a public key algorithm to sign ...



Top 50 recent answers are included