Is my encryption vulnerable if the attacker knows a text start pattern? [CBC] #688
Unanswered
LeonardoReichert
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Could an attacker get lucky if he knows that my message starts with a 64-length hexadecimal pattern?
in my case I save the original message with its sha256:
encrypt: message sha256 + message, padding
(the iv is not secret)
The entire encryption method will be public, and the IV vector will be public.
My concern is if I share my encrypted bytes and also to the vector
Also ask the question here:
https://stackoverflow.com/questions/74650276/is-cbc-128bit-encryption-vulnerable-if-i-expose-a-start-of-text-pattern
I'm not trying to spam, sorry
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions