2
votes
3answers
1k views

Which one of the Block Cipher modes is the best?

I have two questions regarding the Block Cipher Modes: First: Which one of the modes is considered the best? I know CBC has a problem of IV since the next block of the plain text is XORed with the ...
4
votes
4answers
500 views

Is SHA-256 secure as a CTR block cipher?

Generate a 256-bit random nonce. XOR it with a 256-bit reusable symmetric key. This is x. We represent numbers in simple binary instead of a counting function. ...
4
votes
2answers
206 views

Is it safe to store initial counter value for AES-CTR alongside with ciphertext?

The initial counter value can actually be thought of as a sort of IV, which I assume is safe to transmit with the ciphertext, but I really want to be sure that this is indeed safe.