All Questions
Tagged with key-check-value aes
4 questions
1
vote
1
answer
83
views
Can two different AES keys have the KCV by chance?
I am trying to check KCVs of a few keys.
I am generating the KCV for the keys using the method mentioned here https://crypto.stackexchange.com/a/11873/115990
Question: Can KCVs of two different AES ...
1
vote
1
answer
210
views
Is it safe to use the CBC-MAC as a Initial Vector and Key Check Value in deterministic encryption?
I want to deterministically encrypt a short message <50 bytes with AES-128 CBC. I also want to be able to detect if the correct key is being used.
Ciphertext and IV integrity will be guaranteed by ...
1
vote
0
answers
332
views
KCV scheme that encrypts a hash over key and IV
Is there anything wrong with this key-check value scheme?
This question is a follow-up to an earlier question of mine. In summary, I want to devise a key-check value scheme that will enable my ...
9
votes
2
answers
24k
views
How to obtain KCV from the key
Simple question: we have AES 128 encryption and a key. How can we calculate the key check value (KCV)?
One example: key is 48C3B4286FF421A4A328E68AD9E542A4 and KCV should be 77DC84.
I am trying it ...