Find encryption algorithm from file

If I have a file that is allegedly “encrypted using AES algorighm,” can I verify that their statement is correct?

+3
source share
2 answers

Only if you have a key. (and IV)

Encryption creates arbitrary sequences of bytes; most algorithms do not have any characteristics about their output.

In fact, you can create encrypted text that matches two different plaintexts using two different keys or algorithms .

However, depending on what kind of file it is, it may have a plaintext header that defines the encryption algorithm (and this header may lie).

+4
source

, , , .

+1

All Articles