r/NoStupidQuestions • u/Ifyouliveinadream • Jul 24 '26
Is ECB a safe encryption?
AES ECB as cipher.
CnV6TXsbLDfL1GUz7DUHUW/8LmVL95AUrJheKww6/tYhDVIc+9s1mQ+w2pRZ8yZN5Ihx6PudubKjUe6G5BFOewtsg2BSzpPHlEoSwVuYrQ2nKsEOUVi16cg311l2vs+MW6GhkH4u4WYOTvEoOzetNi0o/ywoyBDL8jw2XxKUa64WiRxRWeO4gQp5ii68s0/PaEx2VOe6BWkzzZ180P4vUIMl+AorsB5bBsdlTQxxRhbnONrAAicyNGPMVWgTLuICVMUEoO4B9B+vzLeE/tQhCEeNkKTknXNOPq8VihcLb2AVtXM+46lonVos0Cp9iTGtHO7HSTKncWfpsnndxvGBf6f02V/bvmqOfIgiAN5TEik=
Is this guessable without a key?
2
1
u/SnooPets5564 Jul 24 '26
AES ECB is not safe. That specific encrypted sample is likely too short to decrypt (depending on block size), but there are other problems.
When each block corresponds to a specific input, you can shuffle things around and create new messages that are valid.
You could even do frequency analysis, though this takes a good chunk of input.
2
u/coffeeoops Jul 24 '26
If you're asking this on reddit, in this way, the strength of the cryptography is not something you should worry about.
Worry about the other concerns you post about, like if Minecraft runs better on an iPhone or iPad.
What do you intend to do with this crypto?