SM3 雜湊

对輸入的准确位元組計算摘要;算法或輸出長度不同,結果也不同。

輸入: 文本 (UTF-8) / 檔案結果: 文本

文本輸入

執行後查看結果

範例

Hash bitcoin genesis newspaper headline

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

The Times 03/Jan/2009 Chancellor on brink of second bailout for banks

Expected answer

cbe7fc4c53f89ddfb88b35a572179697fdf0755d3f2d23596ff1232a4f479b1d
長度
256
轮數
64
Hash a registry credential from kubernetes documentation

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

tiger:pass1234

Expected answer

74735b207bfabfdf946db52d3d9aa212b3df07c607aec82223da8a4d54d64904
長度
256
轮數
64
Hash a checksum-sensitive log line with a final newline

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

event=deploy status=ready

Expected answer

925858fc5f1bbe49b60ab58d176e2b70e57bd5302e74a248fbede8e7c385ffb8
長度
256
轮數
64
Hash a french café in precomposed unicode

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

café

Expected answer

b2fe1ec4225216994f60ec98b47b20539e234f3f9fdf39946d0cc0e9022ffa1d
長度
256
轮數
64
Hash a french café with a separate combining accent

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

café

Expected answer

e792a668a29bdbaac5916657cd27cb1c0bb39537359833176e864059e1f25969
長度
256
轮數
64
Hash chinese text in a utf-8 request body

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

你好,世界

Expected answer

c4b26ba9fb01e8a03884c6ceb3a6caae4b78ef8391bb8977e342662a32b04275
長度
256
轮數
64
Hash a literal plus and space inside a url parameter

Compare a digest of these exact bytes. A newline or a different Unicode normalization changes the checksum; legacy hashes are not suitable for new security designs.

輸入

release notes+A/B?

Expected answer

50104768ed6d6b21f00cb06a912b650bfbced3fb773bd7473a15f3cb996c096b
長度
256
轮數
64
SM3 256 64

輸入

Hello, World!

Expected answer

7ed26cbf0bee4ca7d55c1e64714c4aa7d1f163089ef5ceb603cd102c81fbcbc5
長度
256
轮數
64

相关工具

雜湊

操作参考

查看原始技术文檔 (English)