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..
The line retrieves the value stored in the index m_iCountString in the member array m_lEcrpTeksArry (an encryption key, I assume) and extracts a byte from it. Notice that, due to the way m_iCount4Long is used, I can assume that the code given reads a long value, MSB (most significant byte) first.
If 20 zero-bytes appear in the key, it is considered invalid.