登录 注册
当前位置:主页 > 资源下载 > 32 > C语言适用于在单片机上实现DES和3DES加密算法

C语言适用于在单片机上实现DES和3DES加密算法

  • 更新:2024-10-22 09:01:49
  • 大小:5KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:C - 后端
  • 格式:RAR

资源介绍

//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);//解密数据