Reputation: 2763
If I have a file claimed to be "encrypted using AES algorighm", can I verify that their claim is true?
Upvotes: 3
Views: 582
Reputation: 25742
Good encryption schemes are actually designed to hide away all the details of encryption from the encrypted data so if they used a proper application to do the encryption, you should not be able to verify the algorithm used.
Upvotes: 1
Reputation: 887433
Only if you have the key. (and IV)
Encryption produces arbitrary byte sequences; most algorithms do not have any characteristics about their output.
However, depending on what the file is, it may have a (plaintext) header specifying the encryption algorithm (and that header may be lying).
Upvotes: 4