最近在看《密码学与网络安全》相关的书籍,这篇文章主要详细介绍一下著名的网络安全协议SSL。 在开始SSl介绍之前,先给大家介绍几个密码学的概念和相关的知识。 1、密码学的相关概念密码学(cryptography):目的是通过将信息编码使其不可读,从而达到安全性。明文(plain text):发...
分类:
其他好文 时间:
2014-11-07 16:48:58
阅读次数:
277
在密码学中,CA(Certificate Authority,认证机构)是指一个被多个用户信任的机构,该机构能够创建和指派公钥证书。 为规范起见,我们先介绍本文可能涉及的术语, asymmetric cryptography: 非对称密码学(或公开密钥加密,公钥加密),密钥涉及公钥和私钥组成...
分类:
其他好文 时间:
2014-11-06 19:24:35
阅读次数:
310
Power of CryptographyBackgroundCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers modulo f...
分类:
其他好文 时间:
2014-11-05 21:03:37
阅读次数:
237
访问WCF服务时,出现异常详细信息: System.Security.Cryptography.CryptographicException: 密钥集不存在。ArgumentException: 证书“CN=MyServerCert”必须具有能够进行密钥交换的私钥。该进程必须具有访问私钥的权限。这个...
分类:
系统相关 时间:
2014-11-03 20:55:21
阅读次数:
335
使用YZMHelper帮助类即可using System;using System.Web;using System.Drawing;using System.Security.Cryptography;namespace ProjectWenDangManage.Framework{ ///...
PKCS 全称是 Public-Key Cryptography Standards ,是由 RSA 实验室与其它安全系统开发商为促进公钥密码的发展而制订的一系列标准,PKCS 目前共发布过 15 个标准。 常用的有:PKCS#7 Cryptographic Message Syntax Stand...
分类:
其他好文 时间:
2014-10-24 18:03:59
阅读次数:
184
using System;using System.Web;using System.Drawing;using System.Security.Cryptography;/// /// 验证码类/// public class Rand{ #region 生成随机数字 /// /// 生成随机数....
分类:
其他好文 时间:
2014-10-22 17:50:12
阅读次数:
308
using System;using System.Security.Cryptography; using System.Text;using System.IO;public class Encrypt{ public Encrypt() { } #region MD5加密 /// /// M....
分类:
其他好文 时间:
2014-10-22 17:30:25
阅读次数:
210
using System;using System.IO; using System.Security.Cryptography;using System.Text; using System.Web.Security;public static string Decrypt(string Text...
分类:
其他好文 时间:
2014-10-21 10:09:54
阅读次数:
711
ZOJ 2671 - Cryptography ( 矩阵乘法 + 线段树 )题意:给定模数r, 个数n, 询问数m然后是n个矩阵,每次询问,输出矩阵联乘之后的结果。分析:矩阵乘法 + 线段树优化这里线段树只有询问没有更新操作。PS:顺便仰慕一下watashi。。。。代码:#include #incl...
分类:
其他好文 时间:
2014-10-21 00:46:33
阅读次数:
168