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

Crypt::PK::DH documentation issue/question #109

Open
demonfoo opened this issue Sep 17, 2024 · 1 comment
Open

Crypt::PK::DH documentation issue/question #109

demonfoo opened this issue Sep 17, 2024 · 1 comment

Comments

@demonfoo
Copy link

After reading the documentation for the Crypt::PK::DH submodule, I like the concept, but... how does one access the computed key to encrypt/decrypt communication with the peer? I'd like to use this instead of Crypt::DH::GMP, but while I can mostly substitute it in, with Crypt::DH::GMP I can call compute_key_twoc() (or compute_key()) to get the computed key, but the docs don't indicate how this would be done, and I can't find any examples.

@karel-m
Copy link
Contributor

karel-m commented Oct 7, 2024

Could you show be a piece of runnable perl sample code using Crypt::DH::GMP which you want to implement using Crypt::PK::DH?

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