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

CofactorClearing/ #16

Open
utterances-bot opened this issue Dec 17, 2024 · 2 comments
Open

CofactorClearing/ #16

utterances-bot opened this issue Dec 17, 2024 · 2 comments

Comments

@utterances-bot
Copy link

Clamping & Cofactor clearing in Curve25519 – Risen Crypto – Mathematical Cryptography, zkSNARKs

https://risencrypto.github.io/CofactorClearing/

Copy link

skaunov commented Dec 17, 2024

Feels like it's much more complex than interception due to discr. log. problem, so Mallory have to get the scalar $b$ from Bob.

a man in the middle (Mallory) intercepts bG

@RisenCrypto
Copy link
Owner

Feels like it's much more complex than interception due to discr. log. problem, so Mallory have to get the scalar b from Bob.

a man in the middle (Mallory) intercepts bG

He doesn't have to get scalar b. Mallory just has to replace bG sent by Bob with H. So Alice gets H instead of bG. Alices multiplies it by a and uses aH as the shared secret thinking it's actually abG. Mallory can easily brute force & find aH because it can be only one of 8 points.

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

3 participants