Hello everyone, I am kinda stuck right now. I've tried the last couple of hours to implement this encryption algorithm in lite-c for encrypting STRING* declarations, but with not that much of a success.
So here I am in need of help from the big guy out there laugh

XXTEA C code:
http://en.wikipedia.org/wiki/XXTEA

TEA C code:
http://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm


I've tried typecasting STRING*, char* when passing them into the functions but all I got was either crashes or weird returned characters after decryption. Can someone point out what I am doing wrong? Since the algorithm code is already there in the wiki, there isn't really that much of work left to be done, but I can't seem to be get it to work frown

Regards, Endu!