ArticleslgStudy

mathematics

SM3 (hash function)

SM3 (hash function) is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand SM3 (hash function) rather than just read about it. In short: ShangMi 3 (SM3) is a cryptographic hash function, standardised for use in commercial cryptography in China. It was published by the State Cryptography Administration (Chinese: 国家密码管理局) on 2010-12-17 as "GM/T 0004-2012: SM3 cryptographic hash algorithm".

Key takeaways

  • SM3 (hash function) belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect SM3 (hash function) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of SM3 (hash function) from memory before moving on to harder problems.

Reference excerpt

ShangMi 3 (SM3) is a cryptographic hash function, standardised for use in commercial cryptography in China. It was published by the State Cryptography Administration (Chinese: 国家密码管理局) on 2010-12-17 as "GM/T 0004-2012: SM3 cryptographic hash algorithm". SM3 is used for implementing digital signatures, message authentication codes, and pseudorandom number generators. The algorithm is public and is considered similar to SHA-256 in security and efficiency. SM3 can be used with Transport Layer Security although it is not enabled by default.

Attacks

Cryptanalysis Shen Y Z, Bai D X, Yu H B. Improved cryptanalysis of step-reduced SM3. Sci China Inf Sci, 2018, 61(3): 038105, doi: 10.1007/s11432-017-9119-6

Side channel Christophe Clavier and Leo Reynaud and Antoine Wurcker. Yet Another Side Channel Cryptanalysis on SM3 Hash Algorithm (2019). https://eprint.iacr.org/2019/346.

Definitive standards SM3 is defined in each of:

GM/T 0004-2012: SM3 cryptographic hash algorithm GB/T 32905-2016: Information security techniques—SM3 cryptographic hash algorithm ISO/IEC 10118-3:2018—IT Security techniques—Hash-functions—Part 3: Dedicated hash-functions IETF RFC draft-sca-cfrg-sm3-02

References

See also SM4 (cipher)

Worked examples

Example 1 — a first encounter with SM3 (hash function)

Start with the simplest possible case. Write down what SM3 (hash function) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to SM3 (hash function) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about SM3 (hash function) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of SM3 (hash function)

In research
SM3 (hash function) appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses SM3 (hash function) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
SM3 (hash function) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Checksum algorithms, Cryptographic hash functions, Cryptography stubs, so understanding it makes those chapters shorter.
In everyday life
Look for SM3 (hash function) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “SM3 (hash function)” →

How to study SM3 (hash function) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what SM3 (hash function) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain SM3 (hash function) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is SM3 (hash function) in simple terms?

ShangMi 3 (SM3) is a cryptographic hash function, standardised for use in commercial cryptography in China. It was published by the State Cryptography Administration (Chinese: 国家密码管理局) on 2010-12-17 as "GM/T 0004-2012: SM3 cryptographic hash algorithm".

Why does SM3 (hash function) matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study SM3 (hash function)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on SM3 (hash function).

Tags

  • Checksum algorithms
  • Cryptographic hash functions
  • Cryptography stubs

Keep exploring