I recently stumbled upon a question asking for the calculation of a random test vector:
need to test if my AES CCM mode works correctly, but I don't find any example to test that please?
AES-128 Plaintext = 00112233445566778899AABBCCDDEEFF Key = 000102030405060708090A0B0C0D0E0F So in this case what is the correct ciphertext?
Note that this initial post/edit meanwhile has been edited to pull the question on-topic.
It was initially put on hold as off-topic using our “"Programming questions are off-topic even if you are writing or debugging cryptographic code…” close reason.
Now, there seemed to be a bit of disagreement about the on-hold status.
On one hand, we had
… we cannot really become a code generation site for random test vectors. This is an implementation issue and therefore off topic.
and on the other hand we had
… we generally accept requests for test-vectors here and this is perfectly answerable.
This raises the question if we should generally welcome such questions too, or not.
Do we want to allow questions asking for random and/or self-provided test vectors?
I’ll provide two default answers to make voting easy, but please feel welcome to share your own opinion by providing your own answer.