Search code examples
encryptionxtea

Is there an XTEA encryption key that does not encrypt?


The title just about says it.

The idea here is that I could disable encryption by choosing an appropriate key instead of disabling the encryption in the code.


Solution

  • No, XTEA does not have weak keys where the encryption or decryption functions separately behave like the identity functions. (Or at least such a class of keys is not known.)