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

您现在的位置是:虫虫源码 > 其他 > What Does the code DO? Sometimes we may desire to hide our file contents from others.One of the poss

What Does the code DO? Sometimes we may desire to hide our file contents from others.One of the poss

  • 资源大小:10 K
  • 上传时间:2024-03-12
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Sometimes the contents desire

资 源 简 介

What Does the code DO? Sometimes we may desire to hide our file contents from others.One of the possible way is encrypting these files.Here a simple encryption technique is used(In VB - The same technique can be implemented in "c" also.) Program flow Explained * Open the File to be encrypted for Binary Access Read(Say Source File) * Open a temparory file where encrypted data is stored for Binary Access Write(Say Destination File) * Loop through the Source File Byte by Byte * For each byte read from the file, Complement the data. (Using Not operator (in C we have to use "~" operator) * Write Complemented Data to Destination File * Delete the Source File * Rename Destination file as Source File(Now Encryption is over)
VIP VIP
  • Zzz 22分钟前 成为了本站会员

  • Katou Megumi 2小时前 成为了本站会员

  • 6小时前 成为了本站会员

  • 流浪 11小时前 成为了本站会员

  • 也是一生 12小时前 成为了本站会员

  • king666 1天前 成为了本站会员

  • ﹏約啶℡ 1天前 成为了本站会员

  • Long for 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 金. 1天前 成为了本站会员

0.195899s