Skip to content

Test Vectors

Patrick Favre-Bulle edited this page Apr 26, 2019 · 4 revisions

Here are a list of test vectors for possible ports of the id-mask protocol to other languages. These were made with version 0.5.0 of the library.

64-Bit ID Test Vectors

Config 1

secret-key: 2a5a967e4669510560b73ce5c026d5f5 (as byte array of this hex representation)
encoding: base64-url
randomisation: false

ID Masked ID
-2L qqpBIy7v-ib3lufS2gQBLew
-1L zc2O05ybb7CYNgeSqwc8DF8
0L ioq-UAEcDpD-ESocgVtDXLc
1L hobx6l6qsGn1TydWUOaCczs
2L WFj4dnFoIuKLjvAg4Cl-UEM
-1992581640758283126L aWn57km_e11aVIaSpbnzH2I
8869840532652477687L LS35-w6_-uoVD61s37eKj9Q
3197860861307686743L tbXdOST9RricbOEhGNR-aYY
1164979654160545592L 1dUZhyDwNBAdIxrYE2USPDM
-7119569080741756827L hITtg_RBxuW5_PTKdt0N44o
-7144257434397542029L d3ckOZv16j2VL8hj5T6i4-0
8778716370682857110L HBzdjtaa_gM2z9hBGFCvLFI
-6560841423429470858L CQlEteALgAtL4vxPLn9pbcM
-5868949372665991355L NDSjU21PfHOmDc97RyxT_aQ
-6537060410805680606L NDSvPVB223jLDaSaYMe0VuE
-4357931365890710281L XFyzWHVadxe7OL32hcakn8g
939879133301615687L 5-cp4Dw5CoV2m8bzgBMj26Q
2003508339046962714L Z2cKRNFCVK4ip0SHy4WLtGc

Config 2

secret-key: dbcaf04d9b58d32d2360727e (as byte array of this hex representation)
encoding: base32-rfc4648
randomisation: false

ID Masked ID
-2L XK5GGVQNI6CF5TDLJYZDQOAUGSCA
-1L NJVJUENXUEB5IXPKZ4QH4A6XNFOA
0L DAME5C3TMGSWJYKMELIPHC6PJDDQ
1L ZDEONWHG7C6P3N6EOQQ2BEWMWCVQ
2L L5PXV4KQ35THCT4RZU3UP6HPDFVA
-3715919456193561519L P572WQJP3KTNBVJR5KU4N3FEF7RA
-5481516256517375583L AYDBTOII2C3DGEOSYMFMGLAOAGSA
-7468296712281509587L TKNH6CYW25GS55M6HOX3XZEMPJUQ
3021518096685390538L VGU55NBMXGJ2LHUAKPNMVCK6RB6Q
7914997267802934666L YHA46PJMAUKPYXLQZ54SKRACTYCA
7459310047101915058L FQWGD4WT62QGKJQVY6JKP67V6V3Q
-5877777489596283459L ZHEQH3HKYLRAXSZRRX4JPSBJ6X6Q
-4973865568705318815L KZLI66Y6BA4IXAJVVMFNWVR7V5AQ
-6844849186477517873L 5PVZKJF73PNNPPFE7FX5DWJHEY3A
-5441115357490558097L YLBKIAKMT3KPQAXMLAMOK6VLWEFQ
-6091878465560117938L GY3PJHR7WPDIS7MLWC5OV4IGKLOQ
2724954116897017160L VWWQPQWGAV6YBAOHEKLBGGEWCQMQ
3826254288628210140L CAIFGE3ABDZDU3G5UWWKH5GEPK5Q

Config 3

secret-key: 00112233445566778899aabbccddeeff (as byte array of this hex representation)
encoding: hex
randomisation: false

ID Masked ID
-2L a6a62c6991192040300df07b9995b441b7
-1L dada30c0295e33d0afdaa436eda4c1fc85
0L 2a2a6dba410f67be98535c3d9b57c36d38
1L 8282b35dd5cc9b76979132272cb3cf27d0
2L afafefc71c78647a3b80c1cf523814bb07
1988377478058312206L 9797a65d4906c6a90bd9f6eb296624975b
7100210617136260532L 6161a8e43422e0140c947bc975f9645b6b
8205188247681335789L abab400a7a405848525dc4d9822ac6e47d
489639605469815696L 141412ac72b116e4363bef7852a2195944
-1547412311625855079L 82825402124b9f4b5f002d90c47320765d
8496704857580662741L c2c2cf9b7380eb7d78d3e19b526e93703a
-4875312764385472367L 1f1f38e7470dcb3339ccc05037684df84d
-2931344311684914531L dddded1849ddd84012b5fe4b2763eab4a8
-8653657944362799309L c8c8d409567213d43d80d91be682541f09
-3218831467128830374L 7777bc98cafde1bf419a1caf5d3b7ee3b2
5565782657656618752L 1e1e1d7c2d786a2f80ec2abe2cd193786d
-4234136322513752068L fdfdc91cfffba8928c815590e77e5eabe8
-3854236355167266687L 7272c70b784621c5b845e58466c941af50

Config 4

secret-key: b4015f53d4ae626aa66e40b271f603e3 (as byte array of this hex representation)
encoding: base64-url
randomisation: true

ID Masked ID
-2L g4f0I3ATr0skg1lmdRKY_2E5dm5HGaNW3A
-1L cO6DSlwuz85IcOo5FAUad4mjohScWECYpQ
0L Z0c--ezllr54Z5bOLNGqrZ6bY0BkqFJjFg
1L BPZdWi8LfM6RBFuUmu8qVFI6W4hKLI3BZw
2L kr5RZxnPvZq0kgK1VyPsJdI-lmUIeU1eAg

UUID Test Vectors

Config 1

secret-key: 2a5a967e4669510560b73ce5c026d5f5 (as byte array of this hex representation)
encoding: base64-url
randomisation: false

UUID Masked ID
a8267e87-b53a-4e4c-bf53-b0c30187ed76 9ve4S_vlijxe1oFD3GKi2uCMJagQRdBUGg
204cb012-f48b-4c1c-b35c-c144b6574fdd lJUvGs0dco5_lshFWFjKi7iFP38IBYmPaA
686bc23c-fa3b-44bc-afbe-9187fc59ecc1 c3JGJdDiXUzvmDv9mdMRFqF3BG3wsKtIiw
9079a64b-8db7-4cce-b454-59a1eb6385b2 tLWtcAiMSZzyQUl8qTrr0K6zVbIlOEoQxA
02faa72a-c758-4bf4-a91d-8c0fab86eb49 Xl97P1NUFLAgJXa8W7kuWevfABUXry2zvg
510ed9cd-1ffd-420f-ae87-25adcae168f3 _P1_dOOfQfTooEUhAm8mtvYM5IdyGhKylA
8429f509-b532-44b1-933a-da86fb43fc2f kZBu8tZplxjkclG5GFA2AuTGZSfoaCV9Tg
401b13cc-33fb-4682-bcc4-9b0fa4e2d3c7 OTh30HimT7lXha7Hk4q0Lr3cJ_bYYFZpqw
e4909de4-7521-4dea-ae06-b0857029781b MDHclz6V6x1iS4sTDtIE2pmJhlM-mFQZ1Q
e2d095b9-a971-4b0c-a71c-50bbf1a45b2d JCVBZzQgjTWpRSB6RhWU22oNSBvPk5IgRw
afbaf3ad-dfcf-4183-9142-eb5d43d4e38d U1LAV4LT5YNT6ufYgDCcd6YkhdS4mgC22g
8847b309-aace-49f3-af59-2d91717c89d2 0NHvKusQCppeX0Ej8FiVXk5h1a7i1SoFMQ
a99ba13f-8fe0-4e0d-9ce5-28f411d35ad5 t7Y_-Ew-inU7ap2fqb2EA6fNQJ0_7sBrjw
43e97293-aef0-4e54-a034-d1ba7a3cd50d 8fAvbqwLywQhQdGqnMCqS9XSXMZEKv5nsQ
15057e37-54e3-49bc-83ad-b73c561e485b x8YdNxA1-pnJtEaJ-14ugRjOYdH5QeymSQ
ed664da2-70fc-41f2-bc59-189fa2506d7f S0roA60_V42_o-IeUmOOoPNIuvHPwTdlFw

Config 2

secret-key: dbcaf04d9b58d32d2360727e (as byte array of this hex representation)
encoding: base32-rfc4648
randomisation: false

UUID Masked ID
870c655e-c5c3-497d-81a2-06c53a1bca29 p6apPCXMhOBVJtjj2szVyH9b1iSkP2-tvw
0592985b-f4f5-44c7-8dba-59be2117faf9 ZmeVxUN1ZauwK5tdCf-LYAL5mQB4ncxLaQ
729d0e2f-a4be-476b-a0f5-9e9f1c9f408e uruswHZKEdwcsbkAW3aF5gxlqCS_kG4qaw
1c33f872-ed0c-4914-b408-9f74ad92fc00 GhtPuY0qlhn10je07R2Pn553x7AKNr0L0w
f48a3ced-c7b1-459f-8037-d6065b367058 WFlTf0uqZA6ZQa2sA95Sxs3xEymPs2HoeA
d6cc10f7-cac0-4ceb-8062-9fae4484943e QkNSgvWM_yVnUPxEPMJBsL4vGmMnKNYzAA
470a4c2d-cbf6-47f8-be7a-cacf6ba490aa FRQ1RBheHWvTcOi3LTSLS_cq7__2Qj61Sw
b92c29f7-7a15-46cf-b0bb-5ba5645c4a2b BgdvKNtZ5cZyIrcMBmu6yb-oe0L3Kf9Lhw
89b879fc-f1bf-42f3-9d07-14242c8892d4 19ZzRqX-DKiK1THpCYzmn0re4YBLxiF-iA
1bffa8f6-59af-499b-83c5-6beae7d1a5b8 1dRO-B9kcCDKNENsyqQksa5upiiwjfBvvg
5bce7afd-2d8a-45bc-bda0-fa448f817dad BQR-iDOVgGiItLOEciUqgo2JmpSW65rHpQ
23011bcc-47d2-4e6e-9b52-33fbed2fc262 BwbuFdhhzQpVV-E4WxUkMEV4culK7RcocA
e87050cc-0f3f-4621-af61-da97aadc9113 qqsGklFabrFqhwBsGVNDDGZbRr-Pp8W5ZA
baf83eaa-11a8-4fcc-b10e-812e0702e83f goNL-b7fprs9yVHkJOLydKE2Pi9oeORXOg
07348ece-5298-456c-8232-c44f8b0f0e10 FRToD2qmi3zq_qqgIaCCIJ6pdgJ63vb__g
e0796285-ca8f-49d7-866a-7b5bef8a5259 7ex6DP1WLnGZzKweCyQtTjdOMiuN3_4izQ

Config 3

secret-key: 00112233445566778899aabbccddeeff (as byte array of this hex representation)
encoding: hex
randomisation: false

UUID Masked ID
db51451b-a70c-4569-b81f-66aba2dd64ae 3dxCjZYyPH7cyrG0V90Um6UmsQ1RdMMP7g
c95dd95c-5242-4175-8581-4073ced9dd77 Dg_mx5X4J6kgTIYqHWJyh4NVH9QTqO714Q
11ab86a7-28c1-409a-8e73-0945d5aa1963 2dgOauSBGRqAurGhvvQDsFj--jxj32I6zQ
810f796e-0884-4664-941b-3b1e05f82026 fXyoUvvuiYHXfmiuXKNPTKKU_fNFGaC4UQ
14e44056-d449-4572-85d0-b9a128aaf114 ycgcU_llOFGixDPfSW9WRXjBZ_UkypwKFQ
b4a8402a-d873-47c9-a702-809363cf3568 ODnZhvw4Lr4yMflcgW3yIZhY5Pafk5FCqQ
ef3c11e2-0b70-40bc-b634-7250285f9e14 jYyz9M0W7qhhb38INW0pvqyKjpwKxXR93Q
94b70f11-3f40-4321-a2a8-438067deea3b RUQnQzdlqrU2P7OKAZXt2kaU7tLhmzRMKA
ce7727f4-7dab-4462-83a5-820304024176 Dg-7yBU4Wr5loT35Uz-nVBJrBcLcfFQ-dQ
ab9a6170-55ad-47fe-bd8d-e2dd9e4bbed8 wcA8oK5UPCSlMZcLi-XR0qgn3rUesssF5A
8efee31d-41e0-4a55-b194-aec5b8c5e4ea 2NlbtQkW5grlsLvSdky6ZWZAHdy3qqjs3w
f4aa5a90-a48f-44f9-baa6-d49258272fc4 WFmbQbPt3729QHtt4Ud7KJyqL92LAazT1A
8e8e22c7-c24d-4604-9136-0325e59195c9 i4qDhy1yqeoYFvqkaDxBsUC6dubjozekgw
6a6fcc9d-2129-42a7-97d7-030ebdde8426 8vN0Jj_xvSoG2yHe99yx3mZ2fj9Gys6LEQ
33a7b4b1-4827-4438-baa6-d9cdcf16f734 q6o_7f6L2BrYIURPNDPZ9eC8_HgWY4vaOA
45495c3b-f4e1-4555-a133-c3484c1e1443 FRRyv4tX2wCny-LAsMaO8OWsGAvlQHZ_RA

Config 4

secret-key: c1a85ba166254220a6bcc110fca932b9 (as byte array of this hex representation)
encoding: base64-url
randomisation: true

UUID Masked ID
ea9ab093-3514-4dd4-88fe-f42d177d5a80 ZnHwgVT_Ud7rTRB4M_FJarlncT0YIxHTMa17cuF6Msj_qjJi6GHtgd0
6133b08f-f0f4-4f72-ba49-2adfd74aab88 4CqBt-MZB3_kLLsR0_ovuIvhbwHKtOIMr97-PxuJQX2Bm5JSLvdk98Y
13f40cb7-bb52-4531-94ea-68250cf18c97 5fVtImKgS6850ENTNHpR4oTkGdaLfvvR5k99aQU4XRPCkL4jZWRFJPs
6fb986a4-5787-4193-8753-78a5e24d24c4 HiXGNNhYzKA22_83mX3_cksfyxluDGngiKdLQuixy-_FRTvFH9hrpoM
Clone this wiki locally