MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/24a87h/programming_sucks/ch60p34/?context=3
r/programming • u/locrelite • Apr 29 '14
1.1k comments sorted by
View all comments
Show parent comment
2
A CRC does not guarantee this (collisions are common)
No, collisions are not common unless specifically crafted by an attacker. Considering the use case, that's unlikely to be a relevant concern.
A MAC does to a provable extent. The key you use is completely irrelevant. Any random key will do, just use the same one across every run.
Why use a MAC if you don't care about the key? The authentication key is the whole bloody point of a message authentication code.
View all comments
Show parent comment
2
u/masklinn Apr 30 '14
No, collisions are not common unless specifically crafted by an attacker. Considering the use case, that's unlikely to be a relevant concern.
Why use a MAC if you don't care about the key? The authentication key is the whole bloody point of a message authentication code.