I've to do a simple assignment on encryption and I came across this article. I wish to try it using Visual C++.
TEA encrypts 64 data bits at a time using a 128 bit key.
What I understand from the article is strings must be converted into array of bytes.
1) Can we convert a string to an array of bytes?
2) Say I have CString m_strInput and int TEA. Is it correct if I assign 64bits of user-input data into every element of TEA? I don't quite get how to convert the string and split them up into the array.
I guess that's all for now. I think once I get the solution to this one I can proceed to understanding how TEA works. I've never done encryption before, I'm quite loss on how to start coding.
Thank you in advance for your help and guidance.