首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > xorencryption

xorencryption

  • 资源大小:8.42 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This is a simple xor chain encryption program that will encrypt a file, the filename of which must be provided as a command line argument, using a simple CBC encryption algorithm. Upon execution of the program, the user is prompted to enter a password. If the file is not encrypted, the file will be overwritten with the encrypted file, and a hash of the password will be prepended to the begining of the file. If the file is encrypted, the password is checked against this embedded hash value before decrypting and overwriting the file. The target file is cached in RAM; the amount of RAM necessary is double the size of the file. This program is written in c.
VIP VIP
0.193603s