0

I encountered a scheme where a hash of a message was used to encrypt the same message:

result = Encrypt(message=m, key=hash(m)) 

Specifically:

result = AES-256-CBC(message=random(1..2^132), key=SHA3(message))

Is it possible for an adversary to decrypt the message if he knows the result?

kelalaka
  • 49,797
  • 12
  • 123
  • 211

0 Answers0