2

I know that in Hash Collision theory, you end up having a collision if two different text strings results into being the same hash values. But my question here is related to encryption.

1) I am encrypting a text "Hello" using Random IV vector as part of my encryption.

2) I am encrypting the same "Hello" text without using Random IV vector as part of my encryption.

The Cipher generated for each of the cases above should be different. But is there any chance that I should be able to decrypt it to "Hello"?

Kindest Regards,

4

Yes, you can decrypt both to "Hello".

However, you must always set the IV with a random value that you will use only once. You should also use a high level library, not the encryption primitives directly, or else you are most certainly bound to make mistakes that will break the security properties of the encryption.

  • @Ahersean THanks. "Yes" does it mean I cannot or I can :) ? Sir if you could kindly give a little more explanation I would be grateful. – ha9u63ar Aug 4 '17 at 13:22
  • @ha9u63ar I've slightly extended my answer. – A. Hersean Aug 4 '17 at 13:24
  • @AHersean brillian sir! I will do more reading on random IV. – ha9u63ar Aug 4 '17 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.