资源简介
写了一个RSA算法类,可快速实现RSA算法加密和解密。我公司已经使用了,稳定可靠。

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RSATest
{
public class BigInteger
{
// maximum length of the BigInteger in uint (4 bytes)
// change this to suit the required level of precision.
private const int maxLength = 70;
// primes smaller than 2000 to test the generated prime number
public static readonly int[] primesBelow2000 = {
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199
211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293
307 311 313 317 331 337 347 349 353 359 367 373 379 383 389 397
401 409 419 421 431 433 439 443 449 457 461 463 467 479 487 491 499
503 509 521 523 541 547 557 563 569 571 577 587 593 599
601 607 613 617 619 631 641 643 647 653 659 661 673 677 683 691
701 709 719 727 733 739 743 751 757 761 769 773 787 797
809 811 821 823 827 829 839 853 857 859 863 877 881 883 887
907 911 919 929 937 941 947 953 967 971 977 983 991 997
1009 1013 1019 1021 1031 1033 1039 1049 1051 1061 1063 1069 1087 1091 1093 1097
1103 1109 1117 1123 1129 1151 1153 1163 1171 1181 1187 1193
1201 1213 1217 1223 1229 1231 1237 1249 1259 1277 1279 1283 1289 1291 1297
1301 1303 1307 1319 1321 1327 1361 1367 1373 1381 1399
1409 1423 1427 1429 1433 1439 1447 1451 1453 1459 1471 1481 1483 1487 1489 1493 1499
1511 1523 1531 1543 1549 1553 1559 1567 1571 1579 1583 1597
1601 1607 1609 1613 1619 1621 1627 1637 1657 1663 1667 1669 1693 1697 1699
1709 1721 1723 1733 1741 1747 1753 1759 1777 1783 1787 1789
1801 1811 1823 1831 1847 1861 1867 1871 1873 1877 1879 1889
1901 1907 1913 1931 1933 1949 1951 1973 1979 1987 1993 1997 1999 };
private uint[] data = null; // stores bytes from the Big Integer
public int dataLength; // number of actual chars used
//***********************************************************************
// Constructor (Default value for BigInteger is 0
//***********************************************************************
public BigInteger()
{
data = new uint[maxLength];
dataLength = 1;
}
//***********************************************************************
// Constructor (Default value provided by long)
//***********************************************************************
public BigInteger(long value)
{
data = new uint[maxLength];
long tempVal
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 110493 2013-04-28 19:11 RSA加密及解密\RSA\BigInteger.cs
文件 40448 2016-11-16 19:59 RSA加密及解密\RSA\bin\Debug\RSA.exe
文件 108032 2016-11-16 19:59 RSA加密及解密\RSA\bin\Debug\RSA.pdb
文件 11600 2016-11-16 20:06 RSA加密及解密\RSA\bin\Debug\RSA.vshost.exe
文件 490 2010-03-17 22:39 RSA加密及解密\RSA\bin\Debug\RSA.vshost.exe.manifest
文件 1338 2016-11-16 19:59 RSA加密及解密\RSA\Form1.cs
文件 9531 2016-11-16 19:59 RSA加密及解密\RSA\Form1.Designer.cs
文件 5817 2016-11-16 19:59 RSA加密及解密\RSA\Form1.resx
文件 4501 2016-11-16 12:35 RSA加密及解密\RSA\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6263 2016-11-16 19:59 RSA加密及解密\RSA\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 518 2016-11-16 19:59 RSA加密及解密\RSA\obj\x86\Debug\GenerateResource.read.1.tlog
文件 1202 2016-11-16 19:59 RSA加密及解密\RSA\obj\x86\Debug\GenerateResource.write.1.tlog
文件 8031 2016-11-16 12:44 RSA加密及解密\RSA\obj\x86\Debug\ResolveAssemblyReference.cache
文件 1400 2016-11-16 20:06 RSA加密及解密\RSA\obj\x86\Debug\RSA.csproj.FileListAbsolute.txt
文件 40448 2016-11-16 19:59 RSA加密及解密\RSA\obj\x86\Debug\RSA.exe
文件 180 2016-11-16 19:59 RSA加密及解密\RSA\obj\x86\Debug\RSA.Form1.resources
文件 108032 2016-11-16 19:59 RSA加密及解密\RSA\obj\x86\Debug\RSA.pdb
文件 180 2016-11-15 12:54 RSA加密及解密\RSA\obj\x86\Debug\RSA.Properties.Resources.resources
文件 484 2016-11-15 07:59 RSA加密及解密\RSA\Program.cs
文件 1356 2016-11-15 07:59 RSA加密及解密\RSA\Properties\AssemblyInfo.cs
文件 2854 2016-11-15 07:59 RSA加密及解密\RSA\Properties\Resources.Designer.cs
文件 5612 2016-11-15 07:59 RSA加密及解密\RSA\Properties\Resources.resx
文件 1086 2016-11-15 07:59 RSA加密及解密\RSA\Properties\Settings.Designer.cs
文件 249 2016-11-15 07:59 RSA加密及解密\RSA\Properties\Settings.settings
文件 3746 2016-11-15 08:06 RSA加密及解密\RSA\RSA.csproj
文件 8427 2016-11-15 13:00 RSA加密及解密\RSA\RSAHelper.cs
文件 851 2016-11-15 07:59 RSA加密及解密\RSA.sln
..A..H. 20992 2016-11-16 20:24 RSA加密及解密\RSA.suo
目录 0 2016-11-15 07:59 RSA加密及解密\RSA\obj\x86\Debug\TempPE
目录 0 2017-03-31 12:12 RSA加密及解密\RSA\obj\x86\Debug
............此处省略10个文件信息
相关资源
- m1卡 ic卡可选择扇区初始化加密软件
- SVR算法程序可运行
- 计算机图形学 边填充算法实现代码
- The direction of synaptic plasticity mediated
- Zprotect专业版(无限制) 一机一码E
- 福建师范大学历年算法考卷
- 栈的实现及应用,六种基本算法
- 加密软件漏洞评测系统 V8.9
- Bresenham算法绘制线段并利用“橡皮筋
- 介绍几种压缩算法及《笨笨数据压缩
- 改进的BP神经网络算法
- C 大整数RSA加密
- [免费]安全加密软件U盘加密,文件加
- A星算法_原理讲解_例子
- 加密cad图形的lisp文件
- DXperienceUniversal 10.1.6(2010年8月13日版
- 云模型的相关算法cloud
- 旋转矩阵求欧拉角的简单算法
- 栅栏填充算法源码(VC)
- RSA算法源码
- 关联分析Apriori算法实现
- [免费]relax算法成像
- 操作系统 LRU算法 实验报告 及 程序代
- 透明加密源码及说明
- 分治法快速排序算法QuickSort C
- Openssl给文件传输加密
- 现代谱估计算法 music ESPRIT 谐波分解
- MUSIC算法c 实现
- 007出纳管理系统 v7[1].5.94 算法注册机
- 克鲁斯卡尔算法C和C 实现代码
评论
共有 条评论