Question

This is regarding AES algorithm.

Suppose i have implemented a AES algorithm and encrypt data using my algorithm. Now suppose somebody else also has implemented the same AES algorithm (128 bit). Now if i encrypt a data using my algorithm is it possible for decrypting the data and getting back the original data using the second algorithm that the other person has developed. What is the underlying difference in the algorithms.

Is it something related to S-BOX

Thanks

Was it helpful?

Solution

AES is a specified algorithm. If you have two different implementations they both should be able to encrypt and decrypt without any difference. If there is a difference then at least one of them wouldn't be AES.

For such things you

  1. Either assume all implementations of an encryption algorithm you want to be interoperable with are correct, including yours.
  2. Or don't reinvent the wheel unless you actually want to learn something about wheels.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top