TEA (Tiny Encryption Algorithm) | ||||
Computer security has always been very important, now we are going to talk about TEA (Tiny Encryption Algorithm), developed by David Wheeler and Roger Needham at the Comuter Laboratory of Cambridge University. One of his uses is on irc-hispano.org (Spanish main IRC servers) to encrypth the users IP to preserve users identity. It's very simple and easy to understand. Here it'is the tow main functions source code: encipher and decipher
Takes 64 bits of data in v[0] and v[1].
encipher procedure v is the data to encrypted (input), w is the encrypted data (output), k is the secret key (like a password). decipher procedure v is the data to decipher (input), w is the deciphered data (output), the source data, k is the secret key. n is the number of iterations On irc-hispano.org, a brute force attack could be performed by a malicius
individual by trying to guess the key.
|
||||
This is a good algorithm to use on irc servers it's
fast and portable
|