资源简介
基于RSA算法的数字签名系统,C#实现。毕设的题目,上传给大家分享。

代码片段和文件信息
//************************************************************************************
// BigInteger Class Version 1.03
//
// Copyright (c) 2002 Chew Keong TAN
// All rights reserved.
//
// Permission is hereby granted free of charge to any person obtaining a
// copy of this software and associated documentation files (the
// “Software“) to deal in the Software without restriction including
// without limitation the rights to use copy modify merge publish
// distribute and/or sell copies of the Software and to permit persons
// to whom the Software is furnished to do so provided that the above
// copyright notice(s) and this permission notice appear in all copies of
// the Software and that both the above copyright notice(s) and this
// permission notice appear in supporting documentation.
//
// THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS
// OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
// OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
// HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM OR ANY SPECIAL
// INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
// FROM LOSS OF USE DATA OR PROFITS WHETHER IN AN ACTION OF CONTRACT
// NEGLIGENCE OR OTHER TORTIOUS ACTION ARISING OUT OF OR IN CONNECTION
// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
//
// Disclaimer
// ----------
// Although reasonable care has been taken to ensure the correctness of this
// implementation this code should never be used in any application without
// proper verification and testing. I disclaim all liability and responsibility
// to any person or entity with respect to any loss or damage caused or alleged
// to be caused directly or indirectly by the use of this BigInteger class.
//
// Comments bugs and suggestions to
// (http://www.codeproject.com/csharp/biginteger.asp)
//
//
// Overloaded Operators + - * / % >> << == != > < >= <= & | ^ ++ -- ~
//
// Features
// --------
// 1) Arithmetic operations involving large signed integers (2‘s complement).
// 2) Primality test using Fermat little theorm Rabin Miller‘s method
// Solovay Strassen‘s method and Lucas strong pseudoprime.
// 3) Modulo exponential with Barrett‘s reduction.
// 4) Inverse modulo.
// 5) Pseudo prime generation.
// 6) Co-prime generation.
//
//
// Known Problem
// -------------
// This pseudoprime passes my implementation of
// primality test but failed in JDK‘s isProbablePrime test.
//
// byte[] pseudoPrime1 = { (byte)0x00
// (byte)0x85 (byte)0x84 (byte)0x64 (byte)0xFD (byte)0x70 (byte)0x6A
// (byte)0x9F (byte)0xF0 (byte)0x94 (byte)0x0C (byte)0x3E (byte)0x2C
// (byte)0x74 (byte)0x34 (byte)0x05 (byte)0xC9 (byte)0x55 (byte)0xB3
// (byte)0x85 (byte)0x32 (byte)0x98 (byte)0x7
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 128757 2010-06-18 14:19 数字签名\BigInteger.cs
文件 20139 2010-06-18 14:19 数字签名\bin\Debug\Calmness.ssk
文件 16669 2010-06-18 14:19 数字签名\bin\Debug\DiamondGreen.ssk
文件 12666 2010-06-18 14:19 数字签名\bin\Debug\Emerald.ssk
文件 516096 2010-06-18 14:19 数字签名\bin\Debug\IrisSkin2.dll
文件 15156 2010-06-18 14:19 数字签名\bin\Debug\MacOS.ssk
文件 12238 2010-06-18 14:19 数字签名\bin\Debug\MidsummerColor.ssk
文件 16292 2010-06-18 14:19 数字签名\bin\Debug\MSN.ssk
文件 9218 2010-06-18 14:19 数字签名\bin\Debug\Page.ssk
文件 915 2010-09-07 15:09 数字签名\bin\Debug\PrivateKey.xm
文件 243 2010-09-07 15:09 数字签名\bin\Debug\PublicKey.xm
文件 35328 2010-06-18 14:19 数字签名\bin\Debug\RSAEncryption.dll
文件 85504 2010-06-18 14:20 数字签名\bin\Debug\RSAEncryption.pdb
文件 172 2010-06-24 22:46 数字签名\bin\Debug\RSAEncryption.xm
文件 14795 2010-06-18 14:20 数字签名\bin\Debug\Silver.ssk
文件 29210 2010-06-18 14:20 数字签名\bin\Debug\SteelBlack.ssk
文件 31993 2010-06-18 14:20 数字签名\bin\Debug\VistaGreen.ssk
文件 13008 2010-06-18 14:20 数字签名\bin\Debug\Warm.ssk
文件 47607 2010-06-18 14:20 数字签名\bin\Debug\Wave.ssk
文件 45056 2010-06-18 20:44 数字签名\bin\Debug\WindowsApplication1.exe
文件 62976 2010-06-18 20:44 数字签名\bin\Debug\WindowsApplication1.pdb
文件 5632 2005-12-08 14:51 数字签名\bin\Debug\WindowsApplication1.vshost.exe
文件 5258 2010-06-18 17:23 数字签名\DateSignSys.csproj
文件 486 2010-06-18 14:19 数字签名\DateSignSys.csproj.user
文件 910 2010-06-18 20:43 数字签名\DateSignSys.sln
..A..H. 16384 2010-06-24 22:51 数字签名\DateSignSys.suo
文件 17856 2010-06-18 20:43 数字签名\Form1.cs
文件 44521 2010-06-18 20:43 数字签名\Form1.Designer.cs
文件 7228 2010-06-18 20:43 数字签名\Form1.resx
文件 2567 2010-06-18 14:19 数字签名\HashAlgorithm.cs
............此处省略38个文件信息
- 上一篇:WPF HtmlEdit html编辑器
- 下一篇:拓扑生成GIS
相关资源
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
评论
共有 条评论