SMS4 加密算法实现 openSMS4

码农软件 · 软件分类 · 加密/解密软件包 · 2019-09-30 18:26:50

软件介绍

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;
}

本文地址:https://www.codercto.com/soft/d/15750.html

Measure What Matters

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》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

html转js在线工具
html转js在线工具

html转js在线工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具