Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to know the decryption is not the real message #50

Open
Taifour-Taoutaou opened this issue Mar 13, 2023 · 1 comment
Open

how to know the decryption is not the real message #50

Taifour-Taoutaou opened this issue Mar 13, 2023 · 1 comment

Comments

@Taifour-Taoutaou
Copy link

Hi, I'm studing PQC schem : Light Kyber (Baby Kyber).
When I am trying to do some examples of KeyGen(), Enc(), and Dec(), sometimes the decryption gives me the same message I sent but sometimes it doesn't.

As an example my message is m=5 but after decryption it's m'=8, so if I'm just a receiver how to know that "8" is not the correct message, or if I'm the sender how to know that it would give an error so I will change "r" or "e1", ...

I know the failure depends on matrixes s, e, e1, e2, r, but I don't know how to detect the error before sending the message.
Thank you

@cryptojedi
Copy link
Contributor

What exactly is the definition of Baby Kyber? Are you using code from this repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants