资源简介
基于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# 调用win32 api函数-user32.dll详细说明
- C# 调用BarTender打印条码DEMO
- 大型比赛竞赛抽签系统 可打印 c# vs
- C#编写的Gerber查看器
- lua C# .Net4.0 vs2010 LuaInterface
- C#十六进制编辑器
- 明华URF-35H读卡器 C#读写源码 为大家
- C#文件流读取CSV文件
- c#读写PDF文件sql
- C# winform Socket大文件传输
- c#车牌识别系统附30张测试图片
- 《C#面向对象程序设计》源代码(CS)
- 金旭亮《C#面向对象程序设计》教案
- 试题库管理系统毕业论文(C#)源程序
- 学校网站原代码(C#.NET)
- C#-数据库操作技术-员工管理系统
- c#web开发入门经典
- C#与Matlab混合编程的几种方式
- c# 开发与 mysql数据库实现的增删改查
- C#异步操作 异步查询数据库 异步处理
- Basler相机通过IO触发源码
- [源代码] 《领域驱动设计 (C# 2008 实
- 松下PLC与C#通讯串口调试入门教程.z
- USB 继电器控制器 LCUS-1 保证能用 c#
- C# AES加密解密小工具
- C#圆形按钮,非常漂亮动态~~
- [精]C#仿QQ右下角弹出提示框()
- C#进程间通信-共享内存代码
- 有史以来最简单的三层(C#)
- vb调用c#编写的串口DLL文件(vb源码
评论
共有 条评论