文件名称:
SM3 Cryptographic Hash Algorithm.pdf
开发工具:
文件大小: 942kb
下载次数: 0
上传时间: 2019-07-14
详细说明:SM3 Cryptographic Hash Algorithm;商密3 密码杂凑算法 英文版;SM3 Cryptographic Hash algorithm
1 Scope
This document specifies the SM3 cryptographic hash algorithm, inclu ding the details of
the computation process. Furthermore, this document also gives examples for the
computation of SM3 algorithm
This document applies to digital signing and verification, the generation and verification
of message authentication code, and the generation of random number under commercial
crypto graphic applications, and can meet security requirements of multiple
crypto graphic applications. Meanwhile, this document can also be used as the standard
reference by the manufacturers of security products, and improve the credibility and
teroperability of security products
2 Terms and definitions
The following terms and definitions apply to this document
21
Bit string
a binary sequence of 0's and 1s
2.2
Big-endian
A format that describes the order in which a sequence of bytes is stored in computer
memory. It defines that the most significant byte is stored at the lowest storage address
and the least significant byte are stored at the highest address
2.3
Message
a bit string with arbitrary finite length.
Note 1 to entry: In this document, a message is used as the input data of the hash algorithm
2.4
Hash val
The output returned by a hash function
Note 2 to entry: The length of the hash value in this document is 256 bits
2.5
Word
a bit string of length 32
Symbols
The following symbols apply to the document
ABCDEFGH: 32-bit registers or the concatenation of the values
BG: the i-th message block
CF: a compression function
FF; a boolean function, the expression varies with j
GG: a boolean function, the expression varies with j
1: the initial value, used to initialize the register of the compression function.
Po: the permutation involved in the compression function
P: the permutation involved in the message function
T;: a constant, which varies with j
:a message
m: a message after padding
mod: the modular operation
A: bitwise AND operation
v: bitwise OR operation
E: bitwise XOR operation
bitwise NOT operation
+ addition modulo 232 operation
<<2ad29f4a95f30bcc55Cb189e38aee4d
6
1ea52428cb9eac12b002cdee729657292ac33323b2ad29f485e54b79c550b189
2609f2850ea52428cdb825773002cdee7a33ad5fbac353a234fa5956985e54b79
335037e59609f2850a48519d4db825773:8204b5fd33af;d116194fa59569
4_f99576535037e593e50a0c1a48519d43ad22eab8204b5 E aide996d11d61a9
5 374a0ca7 1f99575606fcb263 3e50a0cl acfof639 8ad212ea 5afdclc2 afde99d6
633130_00374a0Ca732aeCc3f06fcb26a3391ec8aacf0f639975456905afdc102
022ac973313010094194e6e32aecc3f367250a13391ec8ab1c3678797545590
8d47caf4c1022ac97260200669419e6eEad473a4367250a164519c8bca6787
959c2744b47caf4c45592e2C26020066c6a3ceae6ad473a48509b39254519c8f
10481ba2aC59c:2744bf95e99a845597e202afb?77c:63ceae9:236a38509b392
11694a3d09431ba2a084e396b3f95e9999dd1b58c02afb7277576351e9d2356a3
1289~bcd58694a3dC93745409084e896b36370db629dd1b58cb938157d7576351e
134:95ab:89cbcd58947a12d2374540991a4255:46370d62a64ee8db938157d
147c52977824c95abc979ab113947a12d23ee959331a4a2554db131b85ac64ee8d
15341697c52977892b57849979ab11361996463e959332aa025db131b86
16796afab134d1591ea52ef0f892b57849057550f561f99646c999f74a2aa0d251
177d27cc0e796afab1a2d23c69a52ef0f8b3c8669b067550f5b2330ccc999f74a
l8d7820ad17a27ccCe556212a2a23c69575c378b3c8669b87a833aab2330fcC
19 f84fd372 d7820ad1 4=98cfa d55562f2 a5dceaf1 575c37d8 34ddse4387a833aa
2002~57896f34fd372C415a3af4f981cfa74576681a5 dceaf1bec2ae134dd9e43
214dCc2fca02c578969a6e5100415a3af576f1d974576681518d2ee7bec2bae
22 eeeec41a 4doc2fcd saf12c05 9fa6e5f. b5523911 576f1c09 340ba2bb 578d2ee7
23f368da78 eEEpc:41a185f9a9a8af17c:056a879032b5523911e84a:b78340:a2hb
2415≈e1286f368da78ad8835dd185f9a9a620633546a879332c88daa91e84abb78
25c3fd31c215ce12861b4f1e6dd8835dd∠cb58f43620633548193543cc88aaa91
266243be5ec3d31c29c250c2bd1b4f1e613_152fe4db58f439aa310318193543C
27a549beaa6243be5efa6385879c25Cc2cf65e309131152fe7a1 aedas9aa3_031
.8 elleb847 a54gbeaa 8/cbcc4 fa538587eb64e96 cf65e30997f0988a ala6dac
29 fcac9e11eh847937d554a877cbcc49811b46de5b64e96_84e7b2f97f0988
30 a5a4a2b3 ff9bac9d 3d708fc2 937d554a e92df4ea 9811b4 6d 74b72db2 184e7b2f
31 89a13e59 a534a2b327533bff 3d708fc2 aff512 e92df4ea a3bcco8d 4b/2db2
323720bd4e89a13e594945674b37593 off cf7d16830a1ff572a757496fa36cc08d
339c:d089:3720bd4e427cb3134945674da8c835:fcf7d1683ab9050ffa757495f
34c7a0744a9ccd089c417a9c6e427cb3130358ff1bda8c835fb41e7be8ab9050f
35d955c3eac7a0744d9a113939417a9c6ec533f0ff0958ff1b1afea464b41e7be8
36e142d72bd955c3ed40e89b8f9a113939d4509586c533f3fff8d84ac71afed454
37e7250598e142a7zbab87dbb240e89b8fc7f93f3d450958687fe299ff8d84ac7
38 2f13cad e7250598 85ae57c2 ab87dbb2 la6cabc9 c?f93fd3 ac36a28187fe299f
39 19f363f9 2f13c4ad 4aob31ce 85ae57c2 c302bacb la6caoc9 fege32c9 ac36a284
40 55eldde2 194353f9 27895a5e 4a0b3lce 2s9daccf c3C2badb 5e48c36 fe9e3fc9
4 d4f4efe3 55eldde2 e6c7f23327895a5e 5cfba85a 459daccf d6de1815 5e48d355
42 48ccbc62 d4fsefe3 c3bbc4ab e6c7f233 6f49c7ob 5cfbab5a 667a2ced d6de815
4.3 8237b8aC 43dchc62 e9dfca9 c3bbc4ab d89: 2711 6f49c7bb 42d2e7dd 657a2ced
44d86859398237b8a00973c491e9dfc7a9gee87df5d89d27113ddb7a4e42d2e7dd
15d2090a86d36859396当714104b978c4912e5336253e:87a15388ecle93dd7a且
46e51075b3d2090a86c0b273b06f714104d9f8961e53.362.efac7743388eC:4e9
4747c5be5Ce51076b312150da4d0b273b33567734ed9f89e61b1297299efac7743
48 abcdbac8 47c5be50 20ed6ca 1215Cda1 3dfcdall 356773e f30ec=c bl297299
49 ba708003 acddbdc8 8b7ca08f 20ed67ca 93494bco 3dfcdd11 9a71ab3b f30ecfc4
50152f5d3bd708003tb7k:91578b7c:08fc3956c:3f93494c:0e889ee59a71ab3b
511382648615e2f5d3100077abb/b9157cd0ga51
956~3f5e049a4ae889efe6
524 ached2f138254865eba62be100077a0741f675cdC9a51c61fe1cab5e049a4a
53f442e824a00 edf c4c90c2c5eba62≈429807cJ741f67528e6684d61fe1cab
54549db4b7f4412e82C1da5e9404c90c27fsbc15ea7429837cb3a83a0f28e6684d
985549db4b7825d05e8
5630245b7822a795853b696ea9825dC5e9f5804c829d4db19aaf6fo5e003e3a14c
57659831413325b7842b0a153b596ea9f522ad2f6804c828cd4ea6daf6fb5e0
58c3629a96598314f48b6f0604f2bCa4514fb07E4f522acib264174028cd4ea5
59ddo0a26ac3a629a930629ecb48b6f060539f7d5c14fb07646397a9156417b402
6071C34a7ldab0a26aac5353873052sec14d5c7658917a5c3b20a7ds6a97a915
15e636b4b71034d716144d5bbac53538709ccd95e145c716eae2c4f上3b20a7d8
12 2bfa5f6c e635b4b C69ae2e2 6144:5b 2ac3cf0809ccd9e 3fbOa bae eae2c4fb
631547e59b2fa5f60
96bc 069ae2e2 e808543b 4ac3cf08 caf04e6o 3EbOabae
The hash value is:
66c7fCf4 62eeedd dlf2d4ob dcl0e4e2 416ic4875cf2f7a2297da020 8E4ba8e0
A2 Example 2
A message of 512 bits
6_626364616263646162636461626364616253646162636461526364
6364
6162636461626364616263646162636461626364616263646152636461625364
The message after padding process is
6162636461626364616763646162636461625364616263646152636461626364
6162636461626364616263646162636461625364616263646152636461625364
80000c000C000000000c00000030000000000000C0000c000000000000000000
00000c000000000000000000000000000000000000c000000000000000200
The first message block:
The message after message expansion
WoW1.67:
6_62636461626364616263546162636461625364616263646152636461625364
6_62636461626364616263646162636461626364616263646152636461626364
a_21a024a121a024a121a0246061e0e56361e0e56061eCe5a0029345a002e345
a002e34549c:969ed49c:969ed49c:969e85ae5679a44ff619a4ff619694b6244
8cBecc4 e8c8e0c4 240el03e 346e603e 346e603e 9a5l7ab 5 8a02a25 a0laa25
060719c2518a37ad528936a89fbd8ae03606206105012567cff7ef93c78b9f9
C:C:2b8a699f03f169f4be209ec5bee10a21290649ff7c:04671724167e09a19
Gefaa233 2ebae675 3475c386 201dcEf6 2f18fccf 2c5E2b5c a80b9f38 bc39f34
C47f18a7a25ce71d4274370551af519
W6W1…Vea
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.