- 授权协议: GPLv2
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/udtester/openSMS4
软件介绍
openSMS4 是开源的 SMS4 块加密算法实现。SMS4 算法主要用于中国国家标准 —— WAPI 协议中,详情请看这里。
示例代码:
/* entry-point for debugging */
int main()
{
SMS4SetKey(NULL, 1);
/* cycle1: common test */
SMS4Encrypt(pData, sizeof(pData), ENRK);
SMS4Decrypt(pData, sizeof(pData), DERK);
/* cycle2: encrypted 1000000 times */
SMS4Encrypt1M();
/* cycle3: longer contents */
SMS4Encrypt(pData2, sizeof(pData2), ENRK);
SMS4Decrypt(pData2, sizeof(pData2), DERK);
return 0;
}
PHP for the World Wide Web, Second Edition (Visual QuickStart Gu
Larry Ullman / Peachpit Press / 2004-02-02 / USD 29.99
So you know HTML, even JavaScript, but the idea of learning an actual programming language like PHP terrifies you? Well, stop quaking and get going with this easy task-based guide! Aimed at beginning ......一起来看看 《PHP for the World Wide Web, Second Edition (Visual QuickStart Gu》 这本书的介绍吧!
