HomeSM3 Cryptographic Hash Algorithm

SM3 Cryptographic Hash Algorithm

Chinese commercial cryptography standard SM3 algorithm, 256-bit cryptographic hash function, supporting multiple input/output formats for data integrity verification and digital signatures

SM3 Cryptographic Hash Algorithm



Documentation

This tool generates SM3 hashes with flexible input/output encoding options, processed locally in your browser.

Key Features

  • SM3 digest generation for text input
  • Input formats: Text/Base64/Hex/Spaced Hex/C-style Hex
  • Output formats: Hex/Base64/Spaced Hex/C-style Hex
  • One-click copy of hash result

Steps

  1. Enter content to hash.
  2. Choose input/output formats.
  3. Run hash calculation and copy the result.

Use Cases

  • Digest pre-processing in SM signing workflows
  • Message and payload integrity markers
  • SM3 testing and interoperability checks

Notes

  • Hashing is one-way and cannot be reversed.
  • Encoding and whitespace differences change digest output.
  • Align encoding rules before cross-system verification.