-
C语言适用于在单片机上实现DES和3DES加密算法
资源介绍
//DES算法
unsigned char DES_Encrypt(unsigned char *plainBuffer, unsigned char *keyBuffer, unsigned char *cipherBuffer);//加密数据
unsigned char DES_Decrypt(unsigned char *cipherBuffer, unsigned char *keyBuffer, unsigned char *plainBuffer);//解密数据
//3DES算法
unsigned char D3DES_Encrypt(unsigned char *plainBuffer, unsigned char *keyBuffer, unsigned char *cipherBuffer);//加密数据
unsigned char D3DES_Decrypt(unsigned char *cipherBuffer, unsigned char *keyBuffer, unsigned char *plainBuffer);//解密数据
- 上一篇: C语言版本的3DES加密解密算法(用DEV C++编译和运行过代码)
- 下一篇:没有了