I have the encrypted files, the random IV for each encrypted files and the counter increment function but I miss the key. Is there anyway for me to decrypt the files?

  • Do you have any information about the key - was it defined by a human, a phrase, a set length etc. Anything that would allow you to brute force in a reasonable manner? – McMatty Nov 22 '18 at 20:10

No, there is no way.

The encrypted data and the IV are collectively called "the ciphertext", this is what is sent over the internet when you encrypt something. The details of the counter function (and the details of how AES works in general) are also public information. The only thing that's meant to be secret is the key, which you don't have.

In short, you have the cipher text but not the key. Unless you know of some secret military-level hack against AES, then you will not be able to recover the plaintext, ... that's the entire point of AES.

| improve this answer | |
  • 1
    Military level? Even the military cannot break AES. – forest Nov 23 '18 at 5:39
  • 1
    @forest I think you're missing some footnotes :P * using the best-known attacks in the public domain, ** without spending an inordinate amount of computation. – Mike Ounsworth Nov 23 '18 at 13:41

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.