Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Send iv...
- Console.Write("Sending iv... ");
- byte[] encryptedIV = rsaServer.Encrypt(tripleDES.IV, true);
- msg = protocol.Make(ProtocolSICmdType.ASSYM_CIPHER_DATA, encryptedIV);
- netStream.Write(msg, 0, msg.Length);
- Console.WriteLine("ok.");
- Console.WriteLine("IV: " + ProtocolSI.ToHexString(tripleDES.IV));
- Console.WriteLine("Encrypted IV: " + ProtocolSI.ToHexString(encryptedIV));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement