码迷,mamicode.com
首页 >  
搜索关键字:cryptography    ( 396个结果
对称加密和不对称加密原理
本文转载至http://my.oschina.net/freelife/blog/109048java加密解密java对称不对称md5des私钥加密(对称加密symmetric cryptography):私钥加密算法使用单个私钥来加密和解密数据。由于具有密钥的任意一方都可以使用该密钥解密数据,因此...
分类:其他好文   时间:2015-07-31 14:33:28    阅读次数:97
解决scrapy报错No module named cryptography.hazmat.bind
在linux下配置完运行是出现ImportError: No module named cryptography.hazmat.bindings.openssl.binding的错误。 原因是craptography并没有安装。如果直接安装cryptography时又会出现找不到libffi和cffi文件的错...
分类:其他好文   时间:2015-07-31 01:33:54    阅读次数:597
C# X509Certificate类 调用证书
一、命名空间using System.Security.Cryptography.X509Certificates;二、调用代码string certPath = Server.MapPath("/weixinApp/cert/apiclient_cert.p12"); //证书已上传到对应目录 ....
分类:Windows程序   时间:2015-07-30 12:46:08    阅读次数:812
字符串的加密与解密(二)
二、可逆加密 以下的几种加密和解密均要添加对System.Security.Cryptography命名空间的引用; using System.Security.Cryptography; 1、DES public class DESDemo { /// /// 向量 /// 向量的长度为8位,也就...
分类:其他好文   时间:2015-07-23 23:41:41    阅读次数:195
MD5 加密的两种方法
System.Security.Cryptography.MD5CryptoServiceProvider md5 = new System.Security.Cryptography.MD5CryptoServiceProvider(); Random...
分类:其他好文   时间:2015-07-21 10:27:18    阅读次数:103
C#之加密解密(信息安全)代码封装
MD5散列算法(单项加密)必须引入System.Security.Cryptography命名空间 /// /// 功能:MD5散列算法 /// /// 参数:待加密的字符串 /// 参数:特殊加密字符串 ///...
分类:Windows程序   时间:2015-07-20 18:32:19    阅读次数:193
解决运行scrapy是报错No module named cryptography,解决cryptography的安装问题,解决libffi的安装问题
在linux下配置完运行是出现ImportError: No module named cryptography.hazmat.bindings.openssl.binding的错误。原因是craptography并没有安装。如果直接安装cryptography时又会出现找不到libffi和cf.....
分类:其他好文   时间:2015-07-20 18:23:24    阅读次数:145
uva 113 Power of Cryptography
#include#include#includeusing namespace std;int main(){ int n; double p; while(cin >> n >> p) { printf("%.0f\n",pow(p,1.0/n)); }...
分类:其他好文   时间:2015-07-18 19:55:00    阅读次数:105
ASP.NET OAuth:access token的加密解密,client secret与refresh token的生成
在ASP.NET OWIN OAuth(Microsoft.Owin.Security.OAuth)中,access token 的默认加密方法是:1) System.Security.Cryptography.DpapiDataProtector.Protect();2) Convert.ToBa...
分类:数据库   时间:2015-07-14 23:51:15    阅读次数:448
在java项目中使用AES256 CBC加密
首先要注意一点,默认的JDK是不支持256位加密的,需要到Oracle官网下载加密增强文件(Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8),否则编译会报错:java.security....
分类:编程语言   时间:2015-07-12 20:05:45    阅读次数:466
396条   上一页 1 ... 24 25 26 27 28 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!