Skip to main content
Cipher Visualizers home

Tag

#ShangMi

2 articles with this tag.

A visual representation of the SM3 Algorithm
Hash Functions Intermediate

The SM3 Algorithm

SM3 is the Chinese national standard hash function. It looks like SHA-256 at first glance, but its message expansion, step function, and 16 rounds of pure XOR are different. Learn how it works step by step, with every intermediate value checked against the standard.

15 min read

A visual representation of the SM4 Algorithm
Block Ciphers Intermediate

The SM4 Algorithm

SM4 is China's national block cipher standard, a 32-round design that updates one 32-bit word at a time. Learn how its byte S-box, rotate-and-XOR mixing, and compact key schedule work, and where the cipher is used.

13 min read

← All tags