Next badge 0/1
~325 people reached
- 0 posts edited
- 0 helpful flags
- 0 votes cast
Game traffic encryption AES CTR + HMAC
Well, the task was to encrypt traffic. Client includes StarForce system, so encrypted packets should be adequately protected. I need maximum performance and minimum packet size overhead. This was a prototype: gist.github.com/Torikova/5236687ae9c45a4332ef I assumed that CTR mode prevents replay attacks and i don't need nonce, just counter. Can i use AES-GCM and still truncate mac to 4-5 bytes?
|asked||Game traffic encryption AES CTR + HMAC|