3 ms·
I will update the code to do a hmac of the message and then alert the user if the cipher text has been tampered with. Not that hard to add in.
by stevehaunts 13y ago
I will update the code to do a hmac of the message and then alert the user if the cipher text has been tampered with. Not that hard to add in.
- schwap 13y agoMake sure to encrypt-then-mac instead of mac-then-encrypt[1] [1] http://crypto.stackexchange.com/questions/202/should-we-mac-then-encrypt-or-encrypt-then-mac http://crypto.stackexchange.com/questions/202/should-we-mac-...
- stevehaunts 13y agoYeah I will do it in that order. Thanks for the help :-)