0
votes
1answer
179 views

Why does my implementation of CBC mode only decrypt the first block correctly? [closed]

I have the following code that uses a CBC mode to encrypt a text by dividing it to 3-elements block. But it only works correctly on the first block which is xored with the IV. ...
0
votes
0answers
222 views

How to calculate a key for Hill Cipher? [closed]

I need an easy way to calculate 3X3 key matrix to encrypt a 256 characters text ?