码迷,mamicode.com
首页 >  
搜索关键字:cryptography    ( 396个结果
UVa 465 Overflow——WA
上次那个大数开方的高精度的题,UVa113 Power of Cryptography,直接两个double变量,然后pow(x, 1 / n)就A过去了。怎么感觉UVa上高精度的题测试数据不给力啊。。。话说回来,我写了100+行代码,WA了,后来考虑到要忽略前导0,又WA了,实在不知道哪出问题了。...
分类:其他好文   时间:2014-07-01 09:18:53    阅读次数:198
SSL协议具体解释
背景介绍近期在看《password学与网络安全》相关的书籍,这篇文章主要具体介绍一下著名的网络安全协议SSL。 在開始SSl介绍之前,先给大家介绍几个password学的概念和相关的知识。 1、password学的相关概念password学(cryptography):目的是通过将信息编码使其不可读...
分类:其他好文   时间:2014-06-08 00:36:59    阅读次数:588
MD5加密算法
一、引用命名空间 using System.Security.Cryptography; 二、核心代码 private void button1_Click(object sender, EventArgs e)         {             MD5 md5 = new MD5CryptoServiceProvider();             byte[] da...
分类:其他好文   时间:2014-06-05 09:56:00    阅读次数:287
POJ2109——Power of Cryptography
Power of CryptographyDescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among t...
分类:其他好文   时间:2014-06-04 16:27:41    阅读次数:248
数论 --- 简单计算
Power of CryptographyTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 18018Accepted: 9090DescriptionCurrent work in cryptography involves (amo...
分类:其他好文   时间:2014-05-26 20:08:35    阅读次数:263
poj2109(Power of Cryptography)
神水。求n=log(k p)-> k=pow(p,1/n)。G++和C++输出不同,编译器原因。代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 using namespace std; 8 9 int main()10.....
分类:其他好文   时间:2014-05-23 23:31:42    阅读次数:237
Explaining public-key cryptography to non-geeks
AsI’mworkingonaproductthatwillmakeheavyuseofencryption,I’vefoundmyselftryingtoexplainpublic-keycryptographytofriendsmorethanoncelately.Tomysurprise,anythingrelatedI’vecomeacrossonlinemakesitlookmorecomplicatedthanitshould.Butit’snot.Firstofall,let’ssee..
分类:其他好文   时间:2014-05-20 21:05:11    阅读次数:430
Android jPBC 2.0.0配置与测试
我在前面的一片博客中,介绍了jPBC 2.0.0在PC平台上面的配置和测试。既然jPBC是Java平台上面实现的,那么jPBC能不能在Android这个以Java为主要语言的平台上运行呢?这样一来,各种在jPBC上撰写的有关双线性对的函数就都能够在移动终端上面用了。我个人的想法就是把最新的密码学算法应用到工程里面,而这确实是我想法的一个很好的跨越。因此,我在第一时间公开整个配置的过程以及我测试的方法,以供广大国内密码学研究者们进行尝试。整个配置过程实际上是非常简单的,这也要感谢jPBC库的编写者们的辛勤工作...
分类:移动开发   时间:2014-05-18 03:01:33    阅读次数:545
asp.net 的加密Encode和解密Decode.
asp.net 的加密和解密(c#):1. 导入所需包:using System.IO;using System.Text;using System.Security.Cryptography;2.加密1)MD5普通加密//获取要加密的字段,并转化为Byte[]数组byte[] data = Sys...
分类:Web程序   时间:2014-05-16 18:53:50    阅读次数:375
DES加密/解密类。
using System.Security.Cryptography; //用的类 /// /// DES加密/解密类。 /// public class DESEncrypt { public DESEncrypt() { ...
分类:其他好文   时间:2014-05-12 10:38:19    阅读次数:235
396条   上一页 1 ... 37 38 39 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!