Reputation
Top tag
Next privilege 10 Rep.
Answer protected questions
Badges
1
Newest
 Student
Impact
~347 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jun
10
awarded  Student
Dec
15
comment 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?
Dec
15
asked Game traffic encryption AES CTR + HMAC