Unicode and multi-char program cannmot communicate
Posted on 2006-05-16
My colleagues developed client and sever with windows cryptography(each with public and private key respectively).
Their proj setting is using unicode char set in VC++.
My proj settings is using multi-byte char set.
Now the client and server success communicate, but my tool (use the same code as in client) fail to have msg exchange,
e.g. wrong msg checksum and server fail to decrypt the username and password.
My tool success to encryt and decrypt the information itself. Checked server received what my tool generated.
The problem is complicated by the fact that there are session key which is randomly generated.
I tried every means and my colleagues fail to locate the problem.