如何在c#中将Des密钥从客户端发送到服务器? [英] How to send the Des key from client to server in c#?

查看:103
本文介绍了如何在c#中将Des密钥从客户端发送到服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个与DES加密通信的客户端和服务器。使用RSA,我从服务器到客户端打磨公钥以加密Des密钥。我使用Rsa公钥加密了Des密钥,但现在我需要知道如何将加密的Des密钥从客户端发送到服务器,解密密钥并使用该解密密钥解密我在客户端上写的内容。任何人都可以帮我解决我需要的代码吗?

i made a client and a server that communicate with DES encryption. With RSA i sanded the public key from server to client to encrypt the Des key. I encrypted the Des key with the Rsa public key but now i need to know how to send the encrypted Des key from client to server, decrypt the key and with that decrypted key to decrypt what i wrote on client. pleace can anyone help me with the code i need it??

推荐答案

它可以在几个不同级别的网络,远程处理或WCF中完成。

请参阅我过去的解决方案中对这些方法的概述:

我如何将byte []发送到其他电脑 [ ^ ],

通信b / w局域网上的两个Windows应用程序。 [ ^ ]。



-SA
It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA


这篇关于如何在c#中将Des密钥从客户端发送到服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆