-
C# 在密钥容器中创建非对称密钥
在密钥容器中创建非对称密钥、在密钥容器中删除非对称密钥、在密钥容器中获取非对称密钥,具体的实现代码,请参考如下代码:
private void button1_Click(object sender, EventArgs e)
{//在密钥容器中创建非对称密钥
CspParameters MyCSP = new CspParameters();
MyCSP.KeyContainerName = this.textBox2.Text;
RSACryptoServiceProvider MyRSA = new RSACryptoServiceProvider(MyCSP);
this.textBox1.Text=MyRSA.ToXmlString(true);
}
private void button2_Click(object sender, EventArgs e)
{//在密钥容器中删除非对称密钥
CspParameters MyCSP = new CspParameters();
MyCSP.KeyContainerName = this.textBox2.Text;
RSACryptoServiceProvider MyRSA = new RSACryptoServiceProvider(MyCSP);
MyRSA.PersistKeyInCsp = false;
MyRSA.Clear();
try
{
this.textBox1.Text = MyRSA.ToXmlString(true);
}
catch
{
this.textBox1.Text = "已经删除非对称密钥!";
}
}
private void button3_Click(object sender, EventArgs e)
{//在密钥容器中获取非对称密钥
CspParameters MyCSP = new CspParameters();
MyCSP.KeyContainerName = this.textB
- 2022-02-06 13:18:17下载
- 积分:1
-
dispatchloss_eqs_p43
Program to solve the power system economic dispatch
- 2012-04-09 03:20:35下载
- 积分:1
-
Ppca_matllabC
PCA MATLAB程序.PCA MAATLAB程序PCA MATLAB程序.
(PCA MATLAB program. PCA MAATLAB program PCA MATLAB program.)
- 2012-07-24 10:26:29下载
- 积分:1
-
CS100A-CS102-探头-超声波模块使用说明书V1
说明: 测距超声波探头制作资料,含原理图和PCB图。(Fabrication Data of Ranging Ultrasound Probe)
- 2021-03-07 21:09:29下载
- 积分:1
-
C语言实现内存驻留的程序
C语言实现内存驻留的程序-C language in the presence of memory processes
- 2023-08-02 19:50:02下载
- 积分:1
-
ISO 15031
ISO15031诊断说明 适用于测试以及研发人员(ISO15031 Diagnostic Instructions for Testing and R&D Personnel)
- 2019-01-07 18:54:09下载
- 积分:1
-
51测试层序
51学习班测试程序 我自己开的51学习板,中间也出了很多问题,但是幸运的是最后调节好了。程序里有1602 矩阵按键 数码管led灯
实时时钟芯片 PCF8951 AD传输芯片 可以采集4路ad值 对了 还有EEPROM的程序 还有一些乱七八糟的模块程序 自己查一下吧
- 2023-07-16 05:55:03下载
- 积分:1
-
商品出入库管理系统
利用C#语言和sql2008数据库实现的商品出入库管理系统,该网站很好地实现了商品出入库管理的所有要求,也包括记录的查询,适用于毕业设计,同时里面带有数据库
- 2022-02-06 07:21:58下载
- 积分:1
-
Kmeans
说明: 基于Kmeans算法的图像分割,一般Kmeans是数据挖掘中用来聚类的,本试验利用图像中的灰度值作为Kmeans算法的原始点,进行图像分割(Kmeans algorithm based on image segmentation, data mining in general Kmeans is used to clustering, the trial use of the image gray value as the original algorithm Kmeans spots for Image Segmentation)
- 2021-04-06 16:49:03下载
- 积分:1
-
lagrange
用拉格朗日n次插值方法 对一系列离散点进行插值(N times with Lagrange interpolation method interpolates a series of discrete points)
- 2015-01-25 20:02:44下载
- 积分:1