摘要: Base64 用来将数据编码为可读的字符串。 编码完的结果只包含字母,数字,+,/ ,= 编码完的结果长度是原始值的4/3. 编码原理: 1. 3*8==4*6 将3字节数据映射到四字节 编码实现: using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace Algorit... 阅读全文
posted @ 2011-07-01 17:54 netfuns 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 安全数字摘要标准算法实现 阅读全文
posted @ 2011-07-01 15:19 netfuns 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 转自 : http://blog.csdn.net/candy_whut/archive/2009/02/03/3860243.aspx 个人资料 name 姓名 alias 别名 pen name 笔名 date of birth 出生日期 birth date 出生日期 born 出生于 birth place 出生地点 age 年龄 native place 籍贯 province 省 ci... 阅读全文
posted @ 2011-07-01 14:07 netfuns 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 过程 : 1.Client 端向server 端请求公钥pubKey2.Client 端生成随机对称密钥 (symetricKey) ,然后用pubkey将其加密为EncryptedSymetricKey。3.Client 端向server 端发送EncryptedSymetricKey4.Server 端用privateKey解密EncryptedSymetricKey,从而得到symetric... 阅读全文
posted @ 2011-07-01 09:52 netfuns 阅读(592) 评论(0) 推荐(2) 编辑