Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

aroundthecode / pycryptodome   python

Repository URL to install this package:

Version: 3.7.2 

/ SelfTest / Cipher / test_vectors / wycheproof / chacha20_poly1305_test.json

{
  "algorithm" : "CHACHA20-POLY1305",
  "generatorVersion" : "0.4.12",
  "numberOfTests" : 151,
  "header" : [],
  "testGroups" : [
    {
      "ivSize" : 96,
      "keySize" : 256,
      "tagSize" : 128,
      "type" : "AeadTest",
      "tests" : [
        {
          "tcId" : 1,
          "comment" : "rfc7539",
          "key" : "808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f",
          "iv" : "070000004041424344454647",
          "aad" : "50515253c0c1c2c3c4c5c6c7",
          "msg" : "4c616469657320616e642047656e746c656d656e206f662074686520636c617373206f66202739393a204966204920636f756c64206f6666657220796f75206f6e6c79206f6e652074697020666f7220746865206675747572652c2073756e73637265656e20776f756c642062652069742e",
          "ct" : "d31a8d34648e60db7b86afbc53ef7ec2a4aded51296e08fea9e2b5a736ee62d63dbea45e8ca9671282fafb69da92728b1a71de0a9e060b2905d6a5b67ecd3b3692ddbd7f2d778b8c9803aee328091b58fab324e4fad675945585808b4831d7bc3ff4def08e4b7a9de576d26586cec64b6116",
          "tag" : "1ae10b594f09e26a7e902ecbd0600691",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 2,
          "comment" : "",
          "key" : "80ba3192c803ce965ea371d5ff073cf0f43b6a2ab576b208426e11409c09b9b0",
          "iv" : "4da5bf8dfd5852c1ea12379d",
          "aad" : "",
          "msg" : "",
          "ct" : "",
          "tag" : "76acb342cf3166a5b63c0c0ea1383c8d",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 3,
          "comment" : "",
          "key" : "7a4cd759172e02eb204db2c3f5c746227df584fc1345196391dbb9577a250742",
          "iv" : "a92ef0ac991dd516a3c6f689",
          "aad" : "bd506764f2d2c410",
          "msg" : "",
          "ct" : "",
          "tag" : "906fa6284b52f87b7359cbaa7563c709",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 4,
          "comment" : "",
          "key" : "cc56b680552eb75008f5484b4cb803fa5063ebd6eab91f6ab6aef4916a766273",
          "iv" : "99e23ec48985bccdeeab60f1",
          "aad" : "",
          "msg" : "2a",
          "ct" : "3a",
          "tag" : "cac27dec0968801e9f6eded69d807522",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 5,
          "comment" : "",
          "key" : "46f0254965f769d52bdb4a70b443199f8ef207520d1220c55e4b70f0fda620ee",
          "iv" : "ab0dca716ee051d2782f4403",
          "aad" : "91ca6c592cbcca53",
          "msg" : "51",
          "ct" : "c4",
          "tag" : "168310ca45b1f7c66cad4e99e43f72b9",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 6,
          "comment" : "",
          "key" : "2f7f7e4f592bb389194989743507bf3ee9cbde1786b6695fe6c025fd9ba4c100",
          "iv" : "461af122e9f2e0347e03f2db",
          "aad" : "",
          "msg" : "5c60",
          "ct" : "4d13",
          "tag" : "91e8b61efb39c122195453077b22e5e2",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 7,
          "comment" : "",
          "key" : "c8833dce5ea9f248aa2030eacfe72bffe69a620caf793344e5718fe0d7ab1a58",
          "iv" : "61546ba5f1720590b6040ac6",
          "aad" : "88364fc8060518bf",
          "msg" : "ddf2",
          "ct" : "b60d",
          "tag" : "ead0fd4697ec2e5558237719d02437a2",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 8,
          "comment" : "",
          "key" : "55568158d3a6483f1f7021eab69b703f614251cadc1af5d34a374fdbfc5adac7",
          "iv" : "3c4e654d663fa4596dc55bb7",
          "aad" : "",
          "msg" : "ab85e9c1571731",
          "ct" : "5dfe3440dbb3c3",
          "tag" : "ed7a434e2602d394281e0afa9fb7aa42",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 9,
          "comment" : "",
          "key" : "e3c09e7fab1aefb516da6a33022a1dd4eb272c80d540c5da52a730f34d840d7f",
          "iv" : "58389375c69ee398de948396",
          "aad" : "84e46be8c0919053",
          "msg" : "4ee5cda20d4290",
          "ct" : "4bd47212941ce3",
          "tag" : "185f1408ee7fbf18f5abad6e2253a1ba",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 10,
          "comment" : "",
          "key" : "51e4bf2bad92b7aff1a4bc05550ba81df4b96fabf41c12c7b00e60e48db7e152",
          "iv" : "4f07afedfdc3b6c2361823d3",
          "aad" : "",
          "msg" : "be3308f72a2c6aed",
          "ct" : "8e9439a56eeec817",
          "tag" : "fbe8a6ed8fabb1937539dd6c00e90021",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 11,
          "comment" : "",
          "key" : "1131c1418577a054de7a4ac551950f1a053f9ae46e5b75fe4abd5608d7cddadd",
          "iv" : "b4ea666ee119563366484a78",
          "aad" : "66c0ae70076cb14d",
          "msg" : "a4c9c2801b71f7df",
          "ct" : "b9b910433af052b0",
          "tag" : "4530f51aeee024e0a445a6328fa67a18",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 12,
          "comment" : "",
          "key" : "99b62bd5afbe3fb015bde93f0abf483957a1c3eb3ca59cb50b39f7f8a9cc51be",
          "iv" : "9a59fce26df0005e07538656",
          "aad" : "",
          "msg" : "42baae5978feaf5c368d14e0",
          "ct" : "ff7dc203b26c467a6b50db33",
          "tag" : "578c0f2758c2e14e36d4fc106dcb29b4",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 13,
          "comment" : "",
          "key" : "85f35b6282cff440bc1020c8136ff27031110fa63ec16f1e825118b006b91257",
          "iv" : "58dbd4ad2c4ad35dd906e9ce",
          "aad" : "a506e1a5c69093f9",
          "msg" : "fdc85b94a4b2a6b759b1a0da",
          "ct" : "9f8816de0994e938d9e53f95",
          "tag" : "d086fc6c9d8fa915fd8423a7cf05072f",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 14,
          "comment" : "",
          "key" : "67119627bd988eda906219e08c0d0d779a07d208ce8a4fe0709af755eeec6dcb",
          "iv" : "68ab7fdbf61901dad461d23c",
          "aad" : "",
          "msg" : "51f8c1f731ea14acdb210a6d973e07",
          "ct" : "0b29638e1fbdd6df53970be2210042",
          "tag" : "2a9134087d67a46e79178d0a93f5e1d2",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 15,
          "comment" : "",
          "key" : "e6f1118d41e4b43fb58221b7ed79673834e0d8ac5c4fa60bbc8bc4893a58894d",
          "iv" : "d95b3243afaef714c5035b6a",
          "aad" : "6453a53384632212",
          "msg" : "97469da667d6110f9cbda1d1a20673",
          "ct" : "32db66c4a3819d81557455e5980fed",
          "tag" : "feae30dec94e6ad3a9eea06a0d703917",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 16,
          "comment" : "",
          "key" : "59d4eafb4de0cfc7d3db99a8f54b15d7b39f0acc8da69763b019c1699f87674a",
          "iv" : "2fcb1b38a99e71b84740ad9b",
          "aad" : "",
          "msg" : "549b365af913f3b081131ccb6b825588",
          "ct" : "e9110e9f56ab3ca483500ceabab67a13",
          "tag" : "836ccabf15a6a22a51c1071cfa68fa0c",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 17,
          "comment" : "",
          "key" : "b907a45075513fe8a8019edee3f2591487b2a030b03c6e1d771c862571d2ea1e",
          "iv" : "118a6964c2d3e380071f5266",
          "aad" : "034585621af8d7ff",
          "msg" : "55a465644f5b650928cbee7c063214d6",
          "ct" : "e4b113cb775945f3d3a8ae9ec141c00c",
          "tag" : "7c43f16ce096d0dc27c95849dc383b7d",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 18,
          "comment" : "",
          "key" : "3b2458d8176e1621c0cc24c0c0e24c1e80d72f7ee9149a4b166176629616d011",
          "iv" : "45aaa3e5d16d2d42dc03445d",
          "aad" : "",
          "msg" : "3ff1514b1c503915918f0c0c31094a6e1f",
          "ct" : "02cc3acb5ee1fcdd12a03bb857976474d3",
          "tag" : "d83b7463a2c3800fe958c28eaa290813",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 19,
          "comment" : "",
          "key" : "f60c6a1b625725f76c7037b48fe3577fa7f7b87b1bd5a982176d182306ffb870",
          "iv" : "f0384fb876121410633d993d",
          "aad" : "9aaf299eeea78f79",
          "msg" : "63858ca3e2ce69887b578a3c167b421c9c",
          "ct" : "35766488d2bc7c2b8d17cbbb9abfad9e6d",
          "tag" : "1f391e657b2738dda08448cba2811ceb",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 20,
          "comment" : "",
          "key" : "0212a8de5007ed87b33f1a7090b6114f9e08cefd9607f2c276bdcfdbc5ce9cd7",
          "iv" : "e6b1adf2fd58a8762c65f31b",
          "aad" : "",
          "msg" : "10f1ecf9c60584665d9ae5efe279e7f7377eea6916d2b111",
          "ct" : "42f26c56cb4be21d9d8d0c80fc99dde00d75f38074bfe764",
          "tag" : "54aa7e13d48fff7d7557039457040a3a",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 21,
          "comment" : "",
          "key" : "c5bc09565646e7edda954f1f739223dada20b95c44ab033d0fae4b0283d18be3",
          "iv" : "6b282ebecc541bcd7834ed55",
          "aad" : "3e8bc5ade182ff08",
          "msg" : "9222f9018e54fd6de1200806a9ee8e4cc904d29f25cba193",
          "ct" : "123032437b4bfd6920e8f7e7e0087ae4889ebe7a0ad0e900",
          "tag" : "3cf68f179550da63d3b96c2d55411865",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 22,
          "comment" : "",
          "key" : "2eb51c469aa8eb9e6c54a8349bae50a20f0e382711bba1152c424f03b6671d71",
          "iv" : "04a9be03508a5f31371a6fd2",
          "aad" : "",
          "msg" : "b053999286a2824f42cc8c203ab24e2c97a685adcc2ad32662558e55a5c729",
          "ct" : "45c7d6b53acad4abb68876a6e96a48fb59524d2c92c9d8a189c9fd2db91746",
          "tag" : "566d3ca10e311b695f3eae1551652493",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 23,
          "comment" : "",
          "key" : "7f5b74c07ed1b40fd14358fe2ff2a740c116c7706510e6a437f19ea49911cec4",
          "iv" : "470a339ecb3219b8b81a1f8b",
          "aad" : "374618a06ea98a48",
          "msg" : "f45206abc25552b2abc9ab7fa243035fedaaddc3b2293956f1ea6e7156e7eb",
          "ct" : "46a80c4187024720084627580080dde5a3f4a11093a7076ed6f3d326bc7b70",
          "tag" : "534d4aa2835a52e72d14df0e4f47f25f",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 24,
          "comment" : "",
          "key" : "e1731d5854e1b70cb3ffe8b786a2b3ebf0994370954757b9dc8c7bc5354634a3",
          "iv" : "72cfd90ef3026ca22b7e6e6a",
          "aad" : "",
          "msg" : "b9c554cbc36ac18ae897df7beecac1dbeb4eafa156bb60ce2e5d48f05715e678",
          "ct" : "ea29afa49d36e8760f5fe19723b9811ed5d519934a440f5081ac430b953b0e21",
          "tag" : "222541af46b86533c6b68d2ff108a7ea",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 25,
          "comment" : "",
          "key" : "27d860631b0485a410702fea61bc873f3442260caded4abde25b786a2d97f145",
          "iv" : "262880d475f3dac5340dd1b8",
          "aad" : "2333e5ce0f93b059",
          "msg" : "6b2604996cd30c14a13a5257ed6cffd3bc5e29d6b97eb1799eb335e281ea451e",
          "ct" : "6dad637897544d8bf6be9507ed4d1bb2e954bc427e5de729daf50762846ff2f4",
          "tag" : "7b997d93c982189d7095dc794c746232",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 26,
          "comment" : "",
          "key" : "cf0d40a4644e5f51815165d5301b22631f4544c49a1878e3a0a5e8e1aae0f264",
          "iv" : "e74a515e7e2102b90bef55d2",
          "aad" : "",
          "msg" : "973d0c753826bae466cf9abb3493152e9de7819e2bd0c71171346b4d2cebf8041aa3cedc0dfd7b467e26228bc86c9a",
          "ct" : "fba78ae4f9d808a62e3da40be2cb7700c3613d9eb2c529c652e76a432c658d27095f0eb8f940c324981ea935e507f9",
          "tag" : "8f046956db3a512908bd7afc8f2ab0a9",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 27,
          "comment" : "",
          "key" : "6cbfd71c645d184cf5d23c402bdb0d25ec54898c8a0273d42eb5be109fdcb2ac",
          "iv" : "d4d807341683825b31cd4d95",
          "aad" : "b3e4064683b02d84",
          "msg" : "a98995504df16f748bfb7785ff91eeb3b660ea9ed3450c3d5e7b0e79ef653659a9978d75542ef91c456762215640b9",
          "ct" : "a1ffed80761829ecce242e0e88b138049016bca018da2b6e19986b3e318cae8d806198fb4c527cc39350ebddeac573",
          "tag" : "c4cbf0befda0b70242c640d7cd02d7a3",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 28,
          "comment" : "",
          "key" : "5b1d1035c0b17ee0b0444767f80a25b8c1b741f4b50a4d3052226baa1c6fb701",
          "iv" : "d61040a313ed492823cc065b",
          "aad" : "",
          "msg" : "d096803181beef9e008ff85d5ddc38ddacf0f09ee5f7e07f1e4079cb64d0dc8f5e6711cd4921a7887de76e2678fdc67618f1185586bfea9d4c685d50e4bb9a82",
          "ct" : "9a4ef22b181677b5755c08f747c0f8d8e8d4c18a9cc2405c12bb51bb1872c8e8b877678bec442cfcbb0ff464a64b74332cf072898c7e0eddf6232ea6e27efe50",
          "tag" : "9ff3427a0f32fa566d9ca0a78aefc013",
Loading ...