Hi all,
This is a very simple question to ask but may be really hard to answer but simply put...
I ask this because I have implemented TEA into RIOTOUS and it uses this method for authentication:
This is a very simple question to ask but may be really hard to answer but simply put...
"With regards to TEA, can you determine the key by knowing the original message and the encrypted output?"
https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm
I ask this because I have implemented TEA into RIOTOUS and it uses this method for authentication:
- User connects to server and sends username unencrpyted
- Server has private key and encrypts a random message for the user to solve
- User receives the encrypted message and decrypts it
- User sends the decrypted message back to the server
- Server checks the users answer with the original random message. If correct then user is authentic
- All communication from this point on are fully encrypted