1. Add toHexStr to fix the bug in hashing small integer in JS, as hash(2) != hash(0x02) != hash(0x2); 2. Client proof is Hash(N_XOR_g, I, A, B, K), where K is client Key from calculateK; 3. Server proof is a hash server proof from server side, it should match Hash(A, clientProof, K); 4. Create concastMc and concastMs for the both proofs;