• 大小: 1.92MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-10
  • 语言: 其他
  • 标签: c++  

资源简介

实现sha-512,实现控制台对所有文件加解密。 附赠文档一份。

资源截图

代码片段和文件信息

#include 
#include “SHA.h“



///////////中间结果///////////////////
char A[8]={0x6a0x090xe60x670xf30xbc0xc90x08};
char B[8]={0xbb0x670xae0x850x840xca0xa70x3b};
char C[8]={0x3c0x6e0xf30x720xfe0x940xf80x2b};
char D[8]={0xa50x4f0xf50x3a0x5f0x1d0x360xf1};
char E[8]={0x510x0e0x520x7f0xad0xe60x820xd1};
char F[8]={0x9b0x050x680x8c0x2b0x3e0x6c0x1f};
char G[8]={0x1f0x830xd90xab0xfb0x410xbd0x6b};
char H[8]={0x5b0xe00xcd0x190x130x7e0x210x79};

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//轮常数太多了输不过来,如果按照书上方法10^64需要写个高精度太过麻烦,所以这里采用将初始输入移位的方法生成轮常数。//
////////////////////////////////////////////////////////////////////////////////////////////////////////

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1480  2013-11-15 19:10  Cryptography_5\Cryptography_5\Cryptography_5.idc

     文件       4116  2013-11-14 15:24  Cryptography_5\Cryptography_5\Cryptography_5.vcxproj

     文件       1144  2013-11-14 15:24  Cryptography_5\Cryptography_5\Cryptography_5.vcxproj.filters

     文件       1330  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\cl.command.1.tlog

     文件      21590  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\CL.read.1.tlog

     文件       1106  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\CL.write.1.tlog

     文件       1752  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\Cryptography_5.Build.CppClean.log

     文件         75  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\Cryptography_5.lastbuildstate

     文件       2728  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\Cryptography_5.log

     文件          2  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link-cvtres.read.1.tlog

     文件          2  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link-cvtres.write.1.tlog

     文件          2  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link-rc.read.1.tlog

     文件          2  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link-rc.write.1.tlog

     文件       1410  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link.command.1.tlog

     文件       2932  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link.read.1.tlog

     文件        694  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\link.write.1.tlog

     文件     149564  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\SHA.obj

     文件     338944  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\vc110.idb

     文件     348160  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\vc110.pdb

     文件     249626  2013-11-15 21:30  Cryptography_5\Cryptography_5\Debug\源.obj

     文件       6651  2013-11-15 19:29  Cryptography_5\Cryptography_5\SHA.cpp

     文件        184  2013-11-15 12:33  Cryptography_5\Cryptography_5\SHA.h

     文件        864  2013-11-15 19:30  Cryptography_5\Cryptography_5\源.cpp

     文件    7864320  2013-11-15 21:31  Cryptography_5\Cryptography_5.sdf

     文件        909  2013-11-12 20:46  Cryptography_5\Cryptography_5.sln

    ..A..H.     23040  2013-11-15 21:31  Cryptography_5\Cryptography_5.v11.suo

     文件     102912  2013-11-15 21:30  Cryptography_5\Debug\Cryptography_5.exe

     文件     597584  2013-11-15 21:30  Cryptography_5\Debug\Cryptography_5.ilk

     文件     789504  2013-11-15 21:30  Cryptography_5\Debug\Cryptography_5.pdb

     文件     164352  2015-05-31 17:38  Cryptography_5.doc

............此处省略7个文件信息

评论

共有 条评论