How to implement the Tea Algorithm with objective c?
i am a new object-c developer,i wanna implement Tea Algorithm, but i don't know more about the byte in开发者_StackOverflow中文版fomation ,so i cant control the string byte stream .who can tall me how to implement this Algorithm. thanks.
If you look at wiki about the TEA algorithm there's C source code example.
http://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm
http://en.wikipedia.org/wiki/XXTEA
Objective-C is an extension on C. That means that any valid C code will work in an Objective-C program. So if you have the C source code, just use that.
精彩评论