开发者

How to implement the Tea Algorithm with objective c?

开发者 https://www.devze.com 2022-12-28 16:25 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号