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

PHP for the World Wide Web, Second Edition (Visual QuickStart Gu

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

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

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

html转js在线工具