|
|
|
|
|
by some_furry
1081 days ago
|
|
It's easy to say "just use a suitable encoding". But when people say "use AES-CBC + HMAC" and cite Signal as an example, and Signal's implementation does this: https://github.com/signalapp/Signal-Android/blob/main/app/sr... Well, when that happens, I feel the need to pipe in :) If you're careful enough to not implement a naive protocol that stitches AES+CBC and HMAC-SHA2 together (or, as tptacek put it in a podcast episode, throw some crypto potions into a cauldron and see what happens), you're probably the minority of crypto-savvy people. |
|
That's very vague and therefore not very helpful. Could you say what exactly is wrong with the code you linked?