Artifact [a892501bc8]

Artifact a892501bc8938a6e986a70cb480efb0134206ea6d05bc7741f05d1fe46280c37:


# SM4 cipher from: https://datatracker.ietf.org/doc/html/draft-ribose-cfrg-sm4-10

# A.1.  Example 1 (GB/T 32907-2016 Example 1)
Plaintext = 0123456789ABCDEFFEDCBA9876543210
Key = 0123456789ABCDEFFEDCBA9876543210
Ciphertext = 681EDF34D206965E86B3E94F536E4246

# A.1.3.  Example 3 (GB/T 32907-2016 Example 2 Encryption)
Plaintext = 0123456789ABCDEFFEDCBA9876543210
Key = 0123456789ABCDEFFEDCBA9876543210
Iterations = 1000000
Ciphertext = 595298C7C6FD271F0402F804C33D3F66

# A.1.4.  Example 4
Plaintext = 000102030405060708090A0B0C0D0E0F
Key = FEDCBA98765432100123456789ABCDEF
Ciphertext = F766678F13F01ADEAC1B3EA955ADB594

# A.1.6.  Example 6
Plaintext = 000102030405060708090A0B0C0D0E0F
Key = FEDCBA98765432100123456789ABCDEF
Iterations = 1000000
Ciphertext = 379A96D0A6A5A5060FB460C75D1879ED