mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 11:50:29 +00:00
242 lines
19 KiB
Plaintext
242 lines
19 KiB
Plaintext
AlgorithmType: SymmetricCipher
|
|
Name: AES/ECB
|
|
Source: NIST Special Publication 800-38A
|
|
Plaintext: 6bc1bee22e409f96e93d7e117393172a ae2d8a571e03ac9c9eb76fac45af8e51 30c81c46a35ce411e5fbc1191a0a52ef f69f2445df4f9b17ad2b417be66c3710
|
|
Comment: F.1.1 ECB-AES128.Encrypt
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 3ad77bb40d7a3660a89ecaf32466ef97 f5d3d58503b9699de785895a96fdbaaf 43b1cd7f598ece23881b00e3ed030688 7b0c785e27e8ad3f8223207104725dd4
|
|
Test: Encrypt
|
|
Comment: F.1.3 ECB-AES192.Encrypt
|
|
Key: 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b
|
|
Ciphertext: bd334f1d6e45f25ff712a214571fa5cc 974104846d0ad3ad7734ecb3ecee4eef ef7afd2270e2e60adce0ba2face6444e 9a4b41ba738d6c72fb16691603c18e0e
|
|
Test: Encrypt
|
|
Comment: F.1.5 ECB-AES256.Encrypt
|
|
Key: 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4
|
|
Ciphertext: f3eed1bdb5d2a03c064b5a7e3db181f8 591ccb10d410ed26dc5ba74a31362870 b6ed21b99ca6f4f9f153e7b1beafed1d 23304b7a39f9f3ff067d8d8f9e24ecc7
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/ECB
|
|
Source: Generated by Crypto++ 5.6.1
|
|
Comment: long test vector
|
|
Plaintext: r8 006bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c371000
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 84C6CBDC2B5A39985774B23BAB066A6AF8CB66C08E4F058E5D3E7C351EA845CEC7B209210EE7EFD38269628687F21CB9BCEA349DC0418ADBA2BF2364DF4DB1A11AD84CF6A422CE95C37B2CF81196245CD857D0B954B83985C1888230F3C301847AAF714253EF768C17E89E4F5513DBD5BEE1266A2B2D7063CE3D0BA8716252C5BCBB9922CD46F374B52FDFF1FEBF155FF4AFEE18788999BC74234A3FFBA7B2858BB2552F172E56EC47456878440ABB5ADAE49941C1E43616AC5D6E31A011611B829F6A77BE1F50754F81F35D24ED89FDE804B17363F9A81C3F12AE067FDD41A2984912CAE1926C5FB3AC18E541FA4AD1E171888E61428F2A8F2E981AE16D0D4E41D33E5E675F446DAE0F454FC4CA056F41F3CC4744A9E948428B2280F96663B7230C09692503C95B3E34F8DE8DF23157F45BDF689B258D994D9E6CE5D4DD6BDB96763CCC41DBBE57A4778D5A9E90226D614C335E44CA8AB41EFEA898BC170C65412F77194A43A1305EF23AC70B059E6E047796EF518D7696BC3DAD5E2634F92DD1C90D206A2B6D3A7CE88668BEAD64614E9000ACFBA79EB3601606214E21E08F14CE77E36BB66FE4A0FCD2A21BCAA2391A9C2016AC3BC7CDF1438EB6DD26696644583E2B0A0C68629D736F6723DF66859CF80B4E5B5C5BF03F334D65C48DB3B2660E2CE33B510FD60C912B85D16AEE7CDBFDF6285B0A77BAE07D987F9CE172A548E6BF0A30CF099AA82BE0A25E0E8919
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CBC
|
|
Source: NIST Special Publication 800-38A
|
|
IV: 000102030405060708090a0b0c0d0e0f
|
|
Plaintext: 6bc1bee22e409f96e93d7e117393172a ae2d8a571e03ac9c9eb76fac45af8e51 30c81c46a35ce411e5fbc1191a0a52ef f69f2445df4f9b17ad2b417be66c3710
|
|
Comment: F.2.1 CBC-AES128.Encrypt
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 7649abac8119b246cee98e9b12e9197d 5086cb9b507219ee95db113a917678b2 73bed6b8e3c1743b7116e69e22229516 3ff1caa1681fac09120eca307586e1a7
|
|
Test: Encrypt
|
|
Comment: F.2.3 CBC-AES192.Encrypt
|
|
Key: 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b
|
|
Ciphertext: 4f021db243bc633d7178183a9fa071e8 b4d9ada9ad7dedf4e5e738763f69145a 571b242012fb7ae07fa9baac3df102e0 08b0e27988598881d920a9e64f5615cd
|
|
Test: Encrypt
|
|
Comment: F.2.5 CBC-AES256.Encrypt
|
|
Key: 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4
|
|
Ciphertext: f58c4c04d6e5f1ba779eabfb5f7bfbd6 9cfc4e967edb808d679f777bc6702c7d 39f23369a9d9bacfa530e26304231461 b2eb05e2c39be9fcda6c19078c6a9d1b
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CBC
|
|
Source: RFC 3602
|
|
Comment: Case 1: Encrypting 16 bytes (1 block) using AES-CBC with 128-bit key
|
|
Key : 0x06a9214036b8a15b512e03d534120006
|
|
IV : 0x3dafba429d9eb430b422da802c9fac41
|
|
Plaintext : "Single block msg"
|
|
Ciphertext: 0xe353779c1079aeb82708942dbe77181a
|
|
Test: Encrypt
|
|
Comment: Case 2: Encrypting 32 bytes (2 blocks) using AES-CBC with 128-bit key
|
|
Key : 0xc286696d887c9aa0611bbb3e2025a45a
|
|
IV : 0x562e17996d093d28ddb3ba695a2e6f58
|
|
Plaintext : 0x000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f
|
|
Ciphertext: 0xd296cd94c2cccf8a3a863028b5e1dc0a 7586602d253cfff91b8266bea6d61ab1
|
|
Test: Encrypt
|
|
Comment: Case 3: Encrypting 48 bytes (3 blocks) using AES-CBC with 128-bit key
|
|
Key : 0x6c3ea0477630ce21a2ce334aa746c2cd
|
|
IV : 0xc782dc4c098c66cbd9cd27d825682c81
|
|
Plaintext : "This is a 48-byte message (exactly 3 AES blocks)"
|
|
Ciphertext: 0xd0a02b3836451753d493665d33f0e886 2dea54cdb293abc7506939276772f8d5 021c19216bad525c8579695d83ba2684
|
|
Test: Encrypt
|
|
Comment: Case 4: Encrypting 64 bytes (4 blocks) using AES-CBC with 128-bit key
|
|
Key : 0x56e47a38c5598974bc46903dba290349
|
|
IV : 0x8ce82eefbea0da3c44699ed7db51b7d9
|
|
Plaintext : 0xa0a1a2a3a4a5a6a7a8a9aaabacadaeaf b0b1b2b3b4b5b6b7b8b9babbbcbdbebf c0c1c2c3c4c5c6c7c8c9cacbcccdcecf d0d1d2d3d4d5d6d7d8d9dadbdcdddedf
|
|
Ciphertext: 0xc30e32ffedc0774e6aff6af0869f71aa 0f3af07a9a31a9c684db207eb0ef8e4e 35907aa632c3ffdf868bb7b29d3d46ad 83ce9f9a102ee99d49a53e87f4c3da55
|
|
Test: Encrypt
|
|
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CBC
|
|
Source: Generated by Crypto++ 5.6.1
|
|
Comment: long test vector
|
|
IV: f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
Plaintext: r8 006bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c371000
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 6544CCA076C4D67C1A69DD7E504C6586FBD22912505E187D8628E19FA067D6C339D078E3032B8596DA74BB0E23434F83E153D5ACD5DEF7D264F58EC685317BF50C93430791718D6E09CCC4804FFE4EEB5C6AD8E9B5DFD456EDE81081627A97FC2FAE9F1955377D7774E68EAB541B20CE3C915185BCA208EE08428C400043F2DC90B0390756762C9271946FCE214B9576F74399E466DAC48C6DD10B420F302941DCC27D55CF1FB59D71954950CAD893FFFA70970D128C77BFA34F3C84B0B64A01194A086ACDD9847D6B91B7F870D0E7591CA07F0B407005F1473C37A648F6E18044336F30418BA43FD7AA5B5BAE01A0E33B1EDA4487730F043E202DE44CB901BD3AED13D790D05F325C414831EB601BD918678C1B8E116877CE1167F87204B49619D323713F95C04CA9621FDCF44BD21C5E36A299C486C8FC0D3043EDFF424B9A7AA5500DC3BD7BF6FAB256E6B45B458058DC933F1FF8C5E841BFC7F405761E14B12B48C1C108F33BF8D65BB8DBB9ED7E92398E779333730F4C68922AA76409E842E76B649B981B8269186220ACFF9DFA198D62CBF4CFA0FE05C1427CE63A345A61FE460D14EF25D7A89E2E228B415757B4E4110B6AFA7D85D48C3BCF184FDD7366F06D9E3D29896B0D3C0D83FCFA881E6EC5F29B0294628EDFF284E58B7BE19D37A6B28D70DC0F165A4B60CE5536D76D1A71849C36B0837E4E5082A05208CEEB320C57F0F5B86DC3CAAC8A32DEA9552D
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CFB
|
|
Source: NIST Special Publication 800-38A
|
|
IV: 000102030405060708090a0b0c0d0e0f
|
|
Plaintext: 6bc1bee22e409f96e93d7e117393172aae2d8
|
|
FeedbackSize: 1
|
|
Comment: F.3.7 CFB8-AES128.Encrypt
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 3b79424c9c0dd436bace9e0ed4586a4f32b9
|
|
Test: Encrypt
|
|
Comment: F.3.9 CFB8-AES192.Encrypt
|
|
Key: 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b
|
|
Ciphertext: cda2521ef0a905ca44cd057cbf0d47a0678a
|
|
Test: Encrypt
|
|
Comment: F.3.11 CFB8-AES256.Encrypt
|
|
Key: 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4
|
|
Ciphertext: dc1f1a8520a64db55fcc8ac554844e889700
|
|
Test: Encrypt
|
|
Plaintext: 6bc1bee22e409f96e93d7e117393172a ae2d8a571e03ac9c9eb76fac45af8e51 30c81c46a35ce411e5fbc1191a0a52ef f69f2445df4f9b17ad2b417be66c3710
|
|
FeedbackSize: 16
|
|
Comment: F.3.13 CFB128-AES128.Encrypt
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 3b3fd92eb72dad20333449f8e83cfb4a c8a64537a0b3a93fcde3cdad9f1ce58b 26751f67a3cbb140b1808cf187a4f4df c04b05357c5d1c0eeac4c66f9ff7f2e6
|
|
Test: Encrypt
|
|
Comment: F.3.15 CFB128-AES192.Encrypt
|
|
Key: 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b
|
|
Ciphertext: cdc80d6fddf18cab34c25909c99a4174 67ce7f7f81173621961a2b70171d3d7a 2e1e8a1dd59b88b1c8e60fed1efac4c9 c05f9f9ca9834fa042ae8fba584b09ff
|
|
Test: Encrypt
|
|
Comment: F.3.17 CFB128-AES256.Encrypt
|
|
Key: 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4
|
|
Ciphertext: dc7e84bfda79164b7ecd8486985d3860 39ffed143b28b1c832113c6331e5407b df10132415e54b92a13ed0a8267ae2f9 75a385741ab9cef82031623d55b1e471
|
|
Test: Encrypt
|
|
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CFB
|
|
Source: Generated by Crypto++ 5.6.1
|
|
Comment: long test vector with odd length
|
|
IV: f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
Plaintext: r11 006bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: ECE71ECD7A4E3C2F643B2B0BFBED32F365C96D626048D13C65962ED08445B5EE74B11203E24C0ACCD3CC13F39963632D8F4B8F8BB16B7901373C32FFD27472957A8448E414A26BB10CAE9BCFBF332BA677D59C0CCD4CCE5B34298E2B1F3250092CF602B5476922D9FA13D4AE9F54841D889FE71D67A79315A621BDAECB2FD3F1ECDAB0DC9FBDFB85AE1633038A44E15DEF1B6DDBC4AB47BB128E1C2DE8A17FD1107D8587CE96088709E17DA23DE6993973A43DFB59801A9691B7EBF5565C4FF842F5132E99288FA4CE3E6CE9333DEE052212E71EF08C5E2E385A787F1567C0CD05A4D11BF40CA19B8D49A231AA55CDE1B8C531C9FCD3B9C70AABD65372E582FCE7528B6BD8F89AA6489B1F085AE024D5A964CAEC4F3F5726CBACDB5D8429F6741FE102BC27E10724C30A64A7D3ED11F6FF41908920A1326793C7C7EDDDD2F79D8A3CE804AE53E59E43B2E0E69AF69A79D7A97A12C0A1AC7331369FCE4072879AA998CD1DC6296CB02D4B97803F1F3713F922796148E2263AFA6A72CF30C3C00297ABF2AD2D559AC4D0011A839FAAA261BB17966E80FF243B65B6209C2732F294F33936A3B8FE7C9BEBE50686BBE7F0FDCF9E24281242B10844037D9AB8A342B954B69E6456243CC13959E1B014A1389BA69B9C4E1C0869C7FE3292ED72FCF183B216F7F5EB5A7CD0A2493BCA160AE6142F4CF03110CA4782CA6C8ED558CA8AF4B14ADC4C368FF0C0CD014F7E117F56D797EF45294C8D3BCED9D5D4E3FA60592031E2925ABA72DFE5AC1D88081DB6CF68DCB256A822CE891AD12F5BB34F39CE974F7D23C0B7AB3BF12D854DA60617EB5E479A9740E00A1DCA267A3D1D212F25A06B83106CBD624CC745ACB31E0EA774F6E0D765D6134F74A3AF5B3846649C14539B7C01B484C54F71B2C5016C2EA57B16472145511130D79E23271151F370DB8A626DB218F73FF0ABFE066E2782696F6984923AA074AEA9E059AEC18F50D4E03F4B17BAD856E6C962604A02
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/OFB
|
|
Source: NIST Special Publication 800-38A
|
|
IV: 000102030405060708090a0b0c0d0e0f
|
|
Plaintext: 6bc1bee22e409f96e93d7e117393172a ae2d8a571e03ac9c9eb76fac45af8e51 30c81c46a35ce411e5fbc1191a0a52ef f69f2445df4f9b17ad2b417be66c3710
|
|
Comment: F.4.1 OFB-AES128.Encrypt
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 3b3fd92eb72dad20333449f8e83cfb4a 7789508d16918f03f53c52dac54ed825 9740051e9c5fecf64344f7a82260edcc 304c6528f659c77866a510d9c1d6ae5e
|
|
Test: Encrypt
|
|
Comment: F.4.3 OFB-AES192.Encrypt
|
|
Key: 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b
|
|
Ciphertext: cdc80d6fddf18cab34c25909c99a4174 fcc28b8d4c63837c09e81700c1100401 8d9a9aeac0f6596f559c6d4daf59a5f2 6d9f200857ca6c3e9cac524bd9acc92a
|
|
Test: Encrypt
|
|
Comment: F.4.5 OFB-AES256.Encrypt
|
|
Key: 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4
|
|
Ciphertext: dc7e84bfda79164b7ecd8486985d3860 4febdc6740d20b3ac88f6ad82a4fb08d 71ab47a086e86eedf39d1c5bba97c408 0126141d67f37be8538f5a8be740e484
|
|
Test: Encrypt
|
|
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/OFB
|
|
Source: Generated by Crypto++ 5.6.1
|
|
Comment: long test vector with odd length
|
|
IV: f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
Plaintext: r11 006bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: ECE71ECD7A4E3C2F643B2B0BFBED32F3B3D63D91F8B99D5EA9D0AA2D977A8675EDD972802EB60B3D8FA629EF94358D46861CF60D9F89F481632F937182C78E49D53D132260CFC3A80943E0FD169C6091FF4BBBBDEC35F4A31DDB61AFA087750D6CFCF86DAB13330125D60A2732E43A2AF3E47ABE4824C5B17DD747F267149A321ADA13409D51D4FC685ADA6789D5785FCA5EF199FD96A03879B4147C4936CC32DE864520C98DD55408CA8ED4AF1BE1F133ED53CA9FF58E6862D3E900AE66EEF75272B547BBC8919CE5503981684FEBA088F5E73BF272C820656CC9627FB4E4FC3A92A6B815CAC558B3257614AA9BB2CF2409D3633B6570EEF67A9343502D2B528078E561782917D977E6F76B13CD6526512D3D4C803BBB58E54EED5B4057EAF85DE83A7EC53FACBCA7E03EB7E027910C8DA25B75BE33B41C0C594DF6D781E821193963C9F658D380A460561B2F0C9C3D7639A4E4EE2DA87653DA86FAD6D5280857CEC28CC40D082C81C672D9B36CD169A6803ACA4C8DAAD77953B296FBAF480FA146F8B41DCBD487A368851A207C90228DBF7BAEEB38F23F98520E52145D809DB530D3E690C2A91B8367B815C4FFC0AE7171582169D6A7FD073A1F9DE1182FC98D1D5B3E39B44E054218B80091333D5B751C0530BADF4361C5A95CB26634AE788F7B6D2CCA543FDE48172A24E4D991F9262CFB8ED09FFE4E1506DA6478EF879847F8CE44569A9AC66E124CEE5944D2DC87742CA1B598B3C7D54662F8A5783A0C6689C949C54E148C2C88DFBA4F10F0234BA62E4DDEA30F5AD3D209829CCB73C22141D56050FB75E0E7D1B822F6FFC6AB92E8DB12A5C6B62064B692F8B118CC38F0436433B5370CE5A79D09A7081703EEA59F64B7361AA50476DD2F7074CA37C51935DCBC78A806F92C1186033070D5C3FABACAAE39CB7FBA0654D13413E94F6E9FDDB7D2D4EC1985CCF2E2011C186BD0C16AA95A0C7FDDF1B36490780EB646EEB7B0B377E970FD7D2E9A06
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CTR
|
|
Source: NIST Special Publication 800-38A
|
|
IV: f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
Plaintext: 6bc1bee22e409f96e93d7e117393172a ae2d8a571e03ac9c9eb76fac45af8e51 30c81c46a35ce411e5fbc1191a0a52ef f69f2445df4f9b17ad2b417be66c3710
|
|
Comment: F.5.1 CTR-AES128.Encrypt
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: 874d6191b620e3261bef6864990db6ce 9806f66b7970fdff8617187bb9fffdff 5ae4df3edbd5d35e5b4f09020db03eab 1e031dda2fbe03d1792170a0f3009cee
|
|
Test: Encrypt
|
|
Comment: F.5.3 CTR-AES192.Encrypt
|
|
Key: 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b
|
|
Ciphertext: 1abc932417521ca24f2b0459fe7e6e0b 090339ec0aa6faefd5ccc2c6f4ce8e94 1e36b26bd1ebc670d1bd1d665620abf7 4f78a7f6d29809585a97daec58c6b050
|
|
Test: Encrypt
|
|
Comment: F.5.5 CTR-AES256.Encrypt
|
|
Key: 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4
|
|
Ciphertext: 601ec313775789a5b7a7f504bbf3d228 f443e3ca4d62b59aca84e990cacaf5c5 2b0930daa23de94ce87017ba2d84988d dfc9c58db67aada613c2dd08457941a6
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CTR
|
|
Source: RFC 3686
|
|
#Test Vector #1: Encrypting 16 octets using AES-CTR with 128-bit key
|
|
Key : AE 68 52 F8 12 10 67 CC 4B F7 A5 76 55 77 F3 9E
|
|
Plaintext : 53 69 6E 67 6C 65 20 62 6C 6F 63 6B 20 6D 73 67
|
|
IV: 00 00 00 30 00 00 00 00 00 00 00 00 00 00 00 01
|
|
Ciphertext : E4 09 5D 4F B7 A7 B3 79 2D 61 75 A3 26 13 11 B8
|
|
Test: Encrypt
|
|
#Test Vector #2: Encrypting 32 octets using AES-CTR with 128-bit key
|
|
Key : 7E 24 06 78 17 FA E0 D7 43 D6 CE 1F 32 53 91 63
|
|
Plaintext : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
|
|
IV: 00 6C B6 DB C0 54 3B 59 DA 48 D9 0B 00 00 00 01
|
|
Ciphertext : 51 04 A1 06 16 8A 72 D9 79 0D 41 EE 8E DA D3 88 EB 2E 1E FC 46 DA 57 C8 FC E6 30 DF 91 41 BE 28
|
|
Test: Encrypt
|
|
#Test Vector #3: Encrypting 36 octets using AES-CTR with 128-bit key
|
|
Key : 76 91 BE 03 5E 50 20 A8 AC 6E 61 85 29 F9 A0 DC
|
|
Plaintext : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23
|
|
IV: 00 E0 01 7B 27 77 7F 3F 4A 17 86 F0 00 00 00 01
|
|
Ciphertext : C1 CF 48 A8 9F 2F FD D9 CF 46 52 E9 EF DB 72 D7 45 40 A4 2B DE 6D 78 36 D5 9A 5C EA AE F3 10 53 25 B2 07 2F
|
|
Test: Encrypt
|
|
#Test Vector #4: Encrypting 16 octets using AES-CTR with 192-bit key
|
|
Key : 16 AF 5B 14 5F C9 F5 79 C1 75 F9 3E 3B FB 0E ED 86 3D 06 CC FD B7 85 15
|
|
Plaintext : 53 69 6E 67 6C 65 20 62 6C 6F 63 6B 20 6D 73 67
|
|
IV: 00 00 00 48 36 73 3C 14 7D 6D 93 CB 00 00 00 01
|
|
Ciphertext : 4B 55 38 4F E2 59 C9 C8 4E 79 35 A0 03 CB E9 28
|
|
Test: Encrypt
|
|
#Test Vector #5: Encrypting 32 octets using AES-CTR with 192-bit key
|
|
Key : 7C 5C B2 40 1B 3D C3 3C 19 E7 34 08 19 E0 F6 9C 67 8C 3D B8 E6 F6 A9 1A
|
|
Plaintext : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
|
|
IV: 00 96 B0 3B 02 0C 6E AD C2 CB 50 0D 00 00 00 01
|
|
Ciphertext : 45 32 43 FC 60 9B 23 32 7E DF AA FA 71 31 CD 9F 84 90 70 1C 5A D4 A7 9C FC 1F E0 FF 42 F4 FB 00
|
|
Test: Encrypt
|
|
#Test Vector #6: Encrypting 36 octets using AES-CTR with 192-bit key
|
|
Key : 02 BF 39 1E E8 EC B1 59 B9 59 61 7B 09 65 27 9B F5 9B 60 A7 86 D3 E0 FE
|
|
Plaintext : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23
|
|
IV: 00 07 BD FD 5C BD 60 27 8D CC 09 12 00 00 00 01
|
|
Ciphertext : 96 89 3F C5 5E 5C 72 2F 54 0B 7D D1 DD F7 E7 58 D2 88 BC 95 C6 91 65 88 45 36 C8 11 66 2F 21 88 AB EE 09 35
|
|
Test: Encrypt
|
|
#Test Vector #7: Encrypting 16 octets using AES-CTR with 256-bit key
|
|
Key : 77 6B EF F2 85 1D B0 6F 4C 8A 05 42 C8 69 6F 6C 6A 81 AF 1E EC 96 B4 D3 7F C1 D6 89 E6 C1 C1 04
|
|
Plaintext : 53 69 6E 67 6C 65 20 62 6C 6F 63 6B 20 6D 73 67
|
|
IV: 00 00 00 60 DB 56 72 C9 7A A8 F0 B2 00 00 00 01
|
|
Ciphertext : 14 5A D0 1D BF 82 4E C7 56 08 63 DC 71 E3 E0 C0
|
|
Test: Encrypt
|
|
#Test Vector #8: Encrypting 32 octets using AES-CTR with 256-bit key
|
|
Key : F6 D6 6D 6B D5 2D 59 BB 07 96 36 58 79 EF F8 86 C6 6D D5 1A 5B 6A 99 74 4B 50 59 0C 87 A2 38 84
|
|
Plaintext : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
|
|
IV: 00 FA AC 24 C1 58 5E F1 5A 43 D8 75 00 00 00 01
|
|
Ciphertext : F0 5E 23 1B 38 94 61 2C 49 EE 00 0B 80 4E B2 A9 B8 30 6B 50 8F 83 9D 6A 55 30 83 1D 93 44 AF 1C
|
|
Test: Encrypt
|
|
#Test Vector #9: Encrypting 36 octets using AES-CTR with 256-bit key
|
|
Key : FF 7A 61 7C E6 91 48 E4 F1 72 6E 2F 43 58 1D E2 AA 62 D9 F8 05 53 2E DF F1 EE D6 87 FB 54 15 3D
|
|
Plaintext : 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23
|
|
IV: 00 1C C5 B7 51 A5 1D 70 A1 C1 11 48 00 00 00 01
|
|
Ciphertext : EB 6C 52 82 1D 0B BB F7 CE 75 94 46 2A CA 4F AA B4 07 DF 86 65 69 FD 07 F4 8C C0 B5 83 D6 07 1F 1E C0 E6 B8
|
|
Test: Encrypt
|
|
|
|
AlgorithmType: SymmetricCipher
|
|
Name: AES/CTR
|
|
Source: Generated by Crypto++ 5.6.1
|
|
Comment: long test vector with odd length
|
|
IV: f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
Plaintext: r11 006bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710
|
|
Key: 2b7e151628aed2a6abf7158809cf4f3c
|
|
Ciphertext: ECE71ECD7A4E3C2F643B2B0BFBED32F31C8551B6306D52CF843EC0B85015DC203B1C0B643E2A6BABAF5133DA0EA06616076AA6BBB52ED75DC3A71A9A6E8AC7C9A00D2C39AA68BF4E6FFED9AAEE5AD6914FB3EA77C7B61FF6BF564F2F1225ACB4B5889CB1559888A5817849C382E168482F75381F63868C468E4D1583B1FE71DD808CB94D8150AAB9D530A0FC17CDE748E95545D8A033B2F61F1954D0C0226168022E1CD7E031C57D048AC560F152960F47705E174D956D4BB53AE80BFFCD1BD569ED8EFFA223C00558B702405F33E6E0EDB2D9B0C148A1441CC80D6ABBCE785AA1B9DAB7CB8832F1B12D2EE60EE2DFCA37942CA1724E5602B7B70525AC9662028A22DB234676615DB474538CBC8D197F38C88BCC4F9E8D207538CA18DE5F095420A2E4D5868CEBB8B34A9377DC52D119790B65210F1B346F5E00D9BD00A8847048913D80726B9B745D565E6284B986DBAEA997FFC5A0DE5051527D44B2C1266DBC9130A6EB15F37A0F00B6286D6678CA651C07743BD37F2E8F6A94F5ED8C63428AE4883A9695183807E104BC335C64FEAAC40A605913DF98FF44E0801B31A968CCE5DCAFADE1E017FA711E05FF5A54BFA1999C2C463F97A3A66B30211BD306C8911C98F8EE5EF47A54746A4D16B7C7424A6954B4FC3BCF1A41BDE8A19CE1027AE86A320D0E5E7D3C7E50CFD0C4665B811D86C313F09ADE5B4DBE017231859881E5873E9EDB2011CF5920D2F7277C4DE1AC430A1849F0B870A69ABE701B6D0B5123E5FF53395409177CF84BF41EC33C5E4BCC2CF29258DC7C260471AABDA49FDE62915758EE4E578D0F7698E6456BC144573739D5D508CC76B389359D2A0ECB5B7EE5FCB4C3151D5AF7C71819EA3DD5F36C7B27E551FD2373D07FFDC76A13FC4B10A6F29A83D6F465ACB6960671EACF21A3E1CB4411C4DAA0C2A87DAED28AEE60B7EC0258A9AF125F2DDC80B9877EFE0F372D9B832C786770A84EA1A07CB6E1A9907D651BBD0EFDEF2AFFC3
|
|
Test: Encrypt
|