- 授权协议: 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;
}
Measure What Matters
John Doerr / Portfolio / 2018-4-24 / GBP 19.67
In the fall of 1999, John Doerr met with the founders of a start-up he’d just given $11.8 million, the biggest investment of his career. Larry Page and Sergey Brin had amazing technology, entrepreneur......一起来看看 《Measure What Matters》 这本书的介绍吧!
