I know that ECB is less secure than CBC, but will it be suitable for encrypting a long bit string?
$\begingroup$
$\endgroup$
4
-
$\begingroup$ Closely related: crypto.stackexchange.com/q/58294 $\endgroup$– PatriotJan 29, 2021 at 4:50
-
1$\begingroup$ Welcome to Crypto! You may want to be specific about the length of the string. Do you have anything else to add to your question? $\endgroup$– PatriotJan 29, 2021 at 4:55
-
1$\begingroup$ Do you have continuous bit string like streaming videos or fixed length of bit string as asked by Patriot? $\endgroup$– SSAJan 29, 2021 at 13:11
-
$\begingroup$ And is there a reason you can't use AES-GCM instead of either? ECB doesn't even provide IND-CPA security, CBC does but lacks IND-CCA & IND-CCA2 secuity (unless you MAC the ciphertext). $\endgroup$– SAI PeregrinusJan 29, 2021 at 13:43
Add a comment
|