码迷,mamicode.com
首页 >  
搜索关键字:ca 加密解密    ( 5669个结果
DES加密解密
/// /// DES加密 /// /// 需要加密字符串 /// 加密密钥 /// /// public static string Encrypt(string sourceStrin...
分类:其他好文   时间:2014-08-21 16:34:14    阅读次数:156
magento 获得root categories
$root_id = Mage::app()->getStore()->getRootCategoryId(); $categories = Mage::getModel('catalog/category')->getCategories($root_id);获得分类名称 fore...
分类:其他好文   时间:2014-08-21 14:58:04    阅读次数:210
LRU的C++的简单实现
class LRUCache提供两个接口:get(int key)和set(int key,value) #include using namespace std; class LRUCache{ public:     LRUCache(int cap):current(0),capacity(cap){         A=new node[ca...
分类:编程语言   时间:2014-08-21 00:17:53    阅读次数:383
Timer类调度任务
Timer类中常用的方法有:public void schedule(TimerTask task,long delay,long period): 重复地以固定的延迟时间去执行一个任务。public void scheduleAtFixedRate(TimerTask,long delay, l....
分类:其他好文   时间:2014-08-20 23:57:33    阅读次数:494
POJ3525-Most Distant Point from the Sea(二分+半平面交)
Most Distant Point from the Sea Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 3955   Accepted: 1847   Special Judge Description The main land of Japan ca...
分类:其他好文   时间:2014-08-20 22:48:43    阅读次数:418
SELECT CASE 语句使用方法
SELECT CASE 语句******selectid,'sexNo'=casewhen sex='先生' then 2when sex='女士' then 3else 1 end,age FROM [ comsiterefer]
分类:其他好文   时间:2014-08-20 19:16:42    阅读次数:177
crypto加密解密
加密Crypto# 使用require(‘crypto‘)?可以访问该模块。 加密模块要求底层系统的OpenSSL是支持的。它提供了一个安全证书,作为一个安全的HTTPS net或HTTP连接的一部分要用于封装方式。 它还提供了一套OpenSSL的哈希...
分类:其他好文   时间:2014-08-20 18:14:03    阅读次数:1675
Cracking the Coding Interview 6.2
There is an 8*8 chess board in which two diagnolly opposite corners have been cut off. You are given 31 dominos, and a single domino can cover exactly...
分类:其他好文   时间:2014-08-20 12:01:32    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!