Skip to content

make message $M$ also an element in q-order subgroup#10

Open
weikengchen wants to merge 2 commits intoRyanRiddle:masterfrom
weikengchen:master
Open

make message $M$ also an element in q-order subgroup#10
weikengchen wants to merge 2 commits intoRyanRiddle:masterfrom
weikengchen:master

Conversation

@weikengchen
Copy link
Contributor

Hi @RyanRiddle

This is the final solution I found to secure the message space.

By squaring the message $M->M^2$, it becomes an element in q-order subgroup. Interestingly, by powering $(q+1)//2$, we can get the unique square root. So decoding is easy.

This makes this library semantic secure.

Disadvantage: no compatible with old ciphertexts.

@RyanRiddle
Copy link
Owner

Hi @weikengchen

Thanks for the PR!

Can you explain in more detail why this works?

Thanks!

@weikengchen
Copy link
Contributor Author

I am going to write a blog about this -- recently.

Thanks for patience!

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

Successfully merging this pull request may close these issues.

2 participants