.h文件
/**
* MD5加密工具
*/
#import
@interface MD5Tools : NSObject
/**
* MD5加密
*/
+(NSString *)md5:(NSString *)value;
/**
* 密码MD5+手机号后4位 ,在作MD5加密
*/
+(NSString *)md5Psd:(NSString *)password...
分类:
其他好文 时间:
2014-07-18 22:18:27
阅读次数:
234
一、下载pip并安装
# wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-1.4.tar.gz#md5=ca790be30004937987767eac42cfa44a
# tar -zxf pip-1.4.tar.gz
# cd pip-1.4
# python setup....
分类:
编程语言 时间:
2014-07-17 19:32:09
阅读次数:
271
md5的C#实现方法,自定义md5方法,完全跳过现今网络上的md5库,实现md5加密的完全安全。
分类:
系统相关 时间:
2014-07-17 11:26:04
阅读次数:
329
代码: public class MD5Test { public static void main(String[] args) { String s1 = MD5Test.MD5Operation(new File("E:/a.csv")); String s2 = MD5Test.MD5Ope...
分类:
其他好文 时间:
2014-07-16 18:41:50
阅读次数:
227
1、方法一 (不可逆加密)srxljl publicstringEncryptPassword(stringPasswordString,stringPasswordFormat ) { stringencryptPassword=null; if(PasswordFormat=...
分类:
其他好文 时间:
2014-07-16 16:58:33
阅读次数:
265
using System;
using System.Security.Cryptography;
using System.Text;
namespace Maticsoft.DBUtility
{
///
/// DES加密/解密类。
///
public class DESEncrypt
{
public DESEncrypt()
{
}
#regi...
分类:
其他好文 时间:
2014-07-16 11:21:38
阅读次数:
194
下面的代码实现了MD5值的生成: public class MD5Test2 { public static void main(String[] args) { System.out.println(MD5Test2.MD5Operation("hello")); System.out.print...
分类:
编程语言 时间:
2014-07-15 09:48:17
阅读次数:
243
Previously, I doubted about possible data transfer errors during file synchronization using rsync. Now, I feel relieved according to the manual:Note t...
分类:
其他好文 时间:
2014-07-15 00:38:37
阅读次数:
330
● BASE64 严格地说,属于编码格式,而非加密算法 ● MD5(Message Digest algorithm 5,信息摘要算法) ● SHA(Secure Hash Algorithm,安全散列算法) ● HMAC(Hash Message Authentication Code,散列消息....
分类:
编程语言 时间:
2014-07-14 23:03:29
阅读次数:
476
在iOS开发中,为了数据的安全经常对内容进行加密,在这儿我们对常用的加密算法进行了总结:
1、MD5
+ (NSString *)md5Hash:(NSString *)str {
const char *cStr = [str UTF8String];
unsigned char result[16];
CC_MD5( cStr, strlen(cStr), re...
分类:
移动开发 时间:
2014-07-14 18:17:16
阅读次数:
265