233 lines
7.3 KiB
Plaintext
233 lines
7.3 KiB
Plaintext
AlgorithmType: SymmetricCipher
|
|
Name: SM4/ECB
|
|
#
|
|
Source: SM4 paper, https://eprint.iacr.org/2008/329.pdf
|
|
Comment: SM4 test vector, section 5, p. 5
|
|
Key: 01 23 45 67 89 ab cd ef fe dc ba 98 76 54 32 10
|
|
Plaintext: 01 23 45 67 89 ab cd ef fe dc ba 98 76 54 32 10
|
|
Ciphertext: 68 1e df 34 d2 06 96 5e 86 b3 e9 4f 53 6e 42 46
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: EB23ADD6454757555747395B76661C9A
|
|
Plaintext: D294D879A1F02C7C5906D6C2D0C54D9F
|
|
Ciphertext: 865DE90D6B6E99273E2D44859D9C16DF
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 11E3790F430B4729DA1EEF291BCE99CD
|
|
Plaintext: 04A36E56B2032B725DDE112FCE3F8398
|
|
Ciphertext: 4076848AD4563B9D8E3FD09BA2E5DCFE
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 4310652E0BB55C2CBA9AEBD4FC2BED5C
|
|
Plaintext: CB33507774E6E161CD5029E901C6C36A
|
|
Ciphertext: 64B8D9FB4114D490FFBD105969310EF9
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: FDBA958326CD690F28C7632B5EBEF6A1
|
|
Plaintext: BAE8A9B1C3319D3FC9D48817E034FE1B
|
|
Ciphertext: 19C70A4E9FE8D6739863224C8734A79B
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 63AF71AE3CE38FD96AFAAAF12CC3D5D3
|
|
Plaintext: A505B41E20C73C777F56235261198E56
|
|
Ciphertext: 2F6071BC04F55844BC8675FABEA3F727
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 03F360D31DA9DBD2F0BFFFEAEFDB1D1E
|
|
Plaintext: 8177F025DDBC7CE919DC5D2612548878
|
|
Ciphertext: D7447F601C174AABC62E06BB85BB597C
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: EA326BD4223B2F1BE3CB0319220ADCAE
|
|
Plaintext: 15DBE19A7FAC233433CB9CA190FAC2F1
|
|
Ciphertext: 6BC11D09BB46092831E2399CF1525F43
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: F1163693E6E70CBF48E774368142286F
|
|
Plaintext: 95FF06C4A634E09BAAD6F1B2230662C7
|
|
Ciphertext: 558614DB4DD8AA43717C14C7B87A8D79
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: CBAD11138E97EE20B140BD8923031488
|
|
Plaintext: A514119F5AB688278E581CFCA5BDFF5F
|
|
Ciphertext: 8E4682E2A5F92B777CAFF65275528CAF
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 3198AB4E006A5180966D5075912BC406
|
|
Plaintext: 5F9B108B715F047B7879E323B0D95C3B
|
|
Ciphertext: 7B40084F82CAAA25821862F986ABD424
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: F11235535318FA844A3CBE643169F59E
|
|
Plaintext: A27EE076E48E6F389710EC7B5E8A3BE5
|
|
Ciphertext: 94CFE3F59E8507FEC41DBE738CCD53E1
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: 419A55A70C401DA6571654BC4AF1F6D7
|
|
Plaintext: 9B6294AE9BE009C87CAEFCD842632A1D
|
|
Ciphertext: 9868917B7329CE6F1E1FBA6E404D8F20
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: EE1E457608D7704A99F76C73815CBFA8
|
|
Plaintext: C89C30AD3B257CA7635052ED63B6D268
|
|
Ciphertext: CE25779CA2A8EEFD7ADD059273E2A1FD
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: 43D99B186BEAA4E2DE3159F77BF708FA
|
|
Plaintext: 91CB86CA6B0FDF6671FF4AE4BF63AD6C
|
|
Ciphertext: 3A6B1DF36C9CBFC327FF8B6C7318579C
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: BBE5816E2B56084FCDEAB9B739CE899E
|
|
Plaintext: B607BB382377F3B6D5FB740E3BF0E822
|
|
Ciphertext: 4DCDC1708360A700130C3BD90C8F626F
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: BF35FEE606E59D0E1E18BDA40180672C
|
|
Plaintext: 6F217DAD31488A54A7F4482D1BE230BC
|
|
Ciphertext: DE1AAEA076633B37B54AEF10B180661A
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: D2B1CE2CFDB2306BE24F0364434F7734
|
|
Plaintext: 7AB0E2CC96E55659E5078591F510B721
|
|
Ciphertext: 052E420981D36C01A96A8302F71FB7A6
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: 2DDD024A42B24A9652C8C52021024C33
|
|
Plaintext: C9BD217786C00F420A88D6818B685A02
|
|
Ciphertext: CE273E3523B443EB34C7B6A153FC9308
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: 4A6453202EC4378492BFA3D6A685F6CD
|
|
Plaintext: B9EDC63029F5FA1390918736590A3483
|
|
Ciphertext: 2C7E67E24281BA3271E6FFF2D2B91B75
|
|
Test: Encrypt
|
|
#
|
|
Source: Botan 2.4 generated
|
|
Comment: SM4-128(128)
|
|
Key: 6FC86EFE73B3AF96014E490882A34825
|
|
Plaintext: 13805831D15593BA3CF4553D4AEFDB71
|
|
Ciphertext: A32951875534F6B1ABB12465EF370FDC
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: SM4/CBC
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: B60B64598B7C3B4CACE7F79E0E6A04E4
|
|
IV: 3976D813A095B411050652196B88F85D
|
|
Plaintext: 20D88FA20206E4C05B173659B9EB40934534C3528544B7EC1160143C612BA781
|
|
Ciphertext: 4A9D869BB80D52EBCD6FB3EF459338203DC603466DE779678B725A24F56B3CA3
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 088D295D113C7293D6BCF4672ACFA99A
|
|
IV: 06EAC32D27F8F7DAABE4C11249ABF9AC
|
|
Plaintext: 43696982BC5872405F545D4AA5CFB2DBD7F08A55DAFEF734174B32F3F349EFE6
|
|
Ciphertext: 4120DA4EA4749F7F7A1B720543785D384E1D1DA552B1A8DF849E61C217527EE7
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: C06C1B9A116D395AE2A157C8BB046D1E
|
|
IV: F022B684F6FF7FBA7DF6FF9D113349A7
|
|
Plaintext: 7BA4D5C4A0C392E5202E57D7C9545FAA96D5F0A1CDB56AFA12306A17C8ED87A7
|
|
Ciphertext: E30F019D9A37485B4C7B4D3D0F80D206F1C96D89002860D115BCA1EB7A26FF76
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: E5C52267B2F77B0D91DBC0CFAB664D2D
|
|
IV: 6DB64FC718DA534FD7F851D3B9296031
|
|
Plaintext: 13C9F96DCE93C2AB145270392FE94A312EE8E01030BD3273DE5F00A21CC8F661
|
|
Ciphertext: E8EF3831EDD8D201BF3C31F60C48E75A952F3E525A9598B1BC86A8EEFC97F399
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 24B8D3435647B89307C176A7526A72A9
|
|
IV: 76546FF53DB565746DE0167A60E6689F
|
|
Plaintext: DE4871BDC5D0A4E8E7C6191BEF5279B9C0B37AA67B1E68B4EB961FC7910D1AA4
|
|
Ciphertext: 92F1C46F07634D73FB9A3905335A61FC67991A91013D1335662307512E997FE2
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 78CCB3780A6B1083735768169B25A173
|
|
IV: 7245637ED3330B6DEB289F6B4BC21C4B
|
|
Plaintext: 24D349B9ED2A7B11D04759F965D4EA58E4942490A78B6D4DD7EE9411356CEFFC
|
|
Ciphertext: EE070B41CCDBE7212BA557C796AD5646148477A0F306BFCA15202E71838D2B3B
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: B80C3000FD2C046A69CA7CC0A30EFA37
|
|
IV: FEC64E270710C10306379AC45224F0AB
|
|
Plaintext: E34F3E1EF452FD124754648386493FC219F7935603A84F739FABC0945AB99D80
|
|
Ciphertext: 34FA5DB02B6F4AF1993B6254B098405A078E2B01F920DAAF9682E2D976AF93DC
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 0B35A8FCD48700A8686E31D0DE26D728
|
|
IV: B0D1FFEACB1ED83284A635F1F29A78F9
|
|
Plaintext: F21CCC23F69ACE95DB4E4B5297043A492498512D372140EC3D89A84737763C53
|
|
Ciphertext: 09743B30EEE11B9563062CAE2C1F5A55389C041C6683B535EC027C0434412AAC
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: 26DA145BEC95BB79A9A2F021F5B3D71B
|
|
IV: 60C4967D68EA166854CE50DAF76417B3
|
|
Plaintext: 619DDE4377CCC30782EC92AE592745610CEE8019B838DC3AE2F62C6768BCFFF3
|
|
Ciphertext: 9598619D651378ABB8EB96AA2F016AE358845A128C84A653C832ED329B9F2453
|
|
Test: Encrypt
|
|
#
|
|
Source: Crypto++ 6.0 generated
|
|
Comment: SM4-128(128)
|
|
Key: A2B0F85DDEF58297E88ED1A032B5BDB9
|
|
IV: 4FD854D99894CFFC2C9A7C7F977E2766
|
|
Plaintext: 62584CC7D1F9DB700C6AB2FF4B9DDF975CD4E8133AA9D7A1C5B077EFBB168A01
|
|
Ciphertext: F2D73D32D40275E93B268B2256522E8AE54BEFD8F75B9356A40DBCE776C74CA6
|
|
Test: Encrypt
|