dominictarr / private-stream

MIT License
9 stars 1 forks source link

Change default mode to crt #3

Closed calvinmetcalf closed 9 years ago

calvinmetcalf commented 9 years ago

CBC in a streaming context is what led to the BEAST attack

dominictarr commented 9 years ago

thanks! can you link me to a good article?

calvinmetcalf commented 9 years ago

yes this stack exchange is pretty good.

dominictarr commented 9 years ago

this uses (your) salsa20 implementation now - aes didn't work well with streaming realtime data, because it's block cipher and it waits for a whole block. This causes deadlocks on secure-scuttlebutt's protocol.