以下信息来自于维基百科。 公开密钥加密(英语:public-key cryptography,又译为公开密钥加密),也称为非对称加密(asymmetric cryptography),一种密码学算法类型,在这种密码学方法中,需要一对密钥,一个是私人密钥,另一个则是公开密钥。这两个密钥是数学相关,用某...
分类:
其他好文 时间:
2015-11-23 21:49:34
阅读次数:
137
using System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography;using System.IO;namespace Csharp{ class AESHelpe...
AES:更快,兼容设备,安全级别高; SHA1:公钥后处理回传 DES:本地数据,安全级别低 RSA:非对称加密,有公钥和私钥 MD5:防篡改 相关: 公开密钥加密(英语:public-key cryptography,又译为公开密钥加密),...
分类:
其他好文 时间:
2015-11-17 22:02:16
阅读次数:
215
背景介绍最近在看《密码学与网络安全》相关的书籍,这篇文章主要详细介绍一下著名的网络安全协议SSL。 在开始SSl介绍之前,先给大家介绍几个密码学的概念和相关的知识。 1、密码学的相关概念密码学(cryptography):目的是通过将信息编码使其不可读,从而达到安全性。明文(plain text):...
分类:
其他好文 时间:
2015-11-12 13:30:48
阅读次数:
410
转载:http://www.cnblogs.com/kevin-top/archive/2010/07/01/1769351.htmlusingSystem;usingSystem.Text;usingSystem.Security.Cryptography;usingSystem.IO;names...
using System.Security.Cryptography; /// /// ASE加解密 /// public class AESHelper { /// /// 获取密钥 /// priv...
分类:
其他好文 时间:
2015-10-27 15:11:54
阅读次数:
219
效果:代码:using System;using System.Text;using System.IO;using System.Security.Cryptography;public partial class _Default : System.Web.UI.Page{ protect...
分类:
Web程序 时间:
2015-10-14 18:07:18
阅读次数:
206
今天有同事报软件出错日志记录:此实现不是 Windows 平台 FIPS 验证的加密算法的一部分。mscorlib, 在 System.Security.Cryptography.MD5CryptoServiceProvider..ctor() 一阵狂搜在百度贴吧中找到一个解决方法,经验证果然...
分类:
编程语言 时间:
2015-10-09 13:54:13
阅读次数:
372
Help.csusing System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography;using System.IO;namespace DESFile{ /// ...
分类:
其他好文 时间:
2015-09-11 12:18:23
阅读次数:
214
.net web程序使用rsa算法进行加解密时,程序报告“System.Security.Cryptography.CryptographicException: 拒绝访问”错。按网上搜的解决方法做了各种权限配置,然并卵。试了两天终于解决,现记录如下:C:\DocumentsandSettings\...
分类:
其他好文 时间:
2015-09-10 17:24:35
阅读次数:
237