如何在udp socket上实现rc4加密 [英] How to implement rc4 encryption on udp socket

查看:68
本文介绍了如何在udp socket上实现rc4加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

The project consists of three tasks:

T1. Implementation of the cryptographic algorithm RC4.

T2. Implementation of a communication protocol with no algorithm created in T1.
<pre>- Secure Communication Protocol

The objective is to make use of the RC4 algorithm interface developed in task T1 to





我尝试了什么:





What I have tried:

I want to make this problem in C #

推荐答案

如果你必须自己实现算法,那么看看它自己的维基百科页面: RC4 - 维基百科 [ ^ ]。您也可以使用Google查找一些现有的C#实施 [ ^ ]。

一旦确定加密/解密例程有效,那么您可以使用 UdpClient [ ^ ]类(或直接套接字 [ ^ ]类,如果需要,则实现通信部分。
If you have to implement yourself the algorithm then have a look at its own Wikipedia page: RC4 - Wikipedia[^]. You may also use Google to find out some existing C# implementations[^].
Once you're sure your encryption/decryption routines work, then you may use the UdpClient[^] class (or directly the Socket[^] class, if required so) to implement the communication part.


这篇关于如何在udp socket上实现rc4加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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