HELP! Need help to understand these codes! ..(BYTE)(....
char m_cTestChar;
for(int m_iCountString=0;m_iCountString<m_iNumberOfTextLongBlock;m_iCountString++)
{
for(int m_iCount4Long=3;m_iCount4Long>=0;m_iCount4Long--)
{
m_cTestChar=(BYTE)(m_lEcrpTeksArry.GetAt(m_iCountString)>>(m_iCount4Long*8));
if(m_cTestChar==0)
{
BilZero++;
m_sEncryTea+="#";
m_iKor=(BYTE)((m_iCountString*4)+(3-m_iCount4Long));
m_sEncryTea="END"+m_sEncryTea;
m_sEncryTea=m_iKor+m_sEncryTea;
m_sEncryTea="ZERO"+m_sEncryTea;
if(BilZero>20)
{
AfxMessageBox("The Encryption Key is Not Suitable, please choose another one!");
return;
}
}
else
m_sEncryTea+=(BYTE)(m_lEcrpTeksArry.GetAt(m_iCountString)>>(m_iCount4Long*8));
hello...i really need to know what the codes about works...!!
Especially this :
m_cTestChar=(BYTE)(m_lEcrpTeksArry.GetAt(m_iCountString)>>(m_iCount4Long*8));
for ur information.. i'd converted a set of strings into LONG blocks.. then encrypted them using TEA Algoritm.. and now..this part.. a friend of mine e-mailed me.. its for "CONVERTING THE EXCRYPTED TEXTS INTO STRING"...
I'm sorry i really need u guys to help me understand these codes..as my friend also dunno how it works..
Thanks in advance.
Regards,
Thong
[email protected]
..to have the most amazing dream...