I am attempting to learn ElGamal encryption, and I am following this site:

https://cryptographyacademy.com/elgamal/

I have been able to find the SubgroupOder, SubgroupGenerator, and Modulus 
from Alice's ElGamal Public Key. However, what I have not been able to find 
when attempting to encrypt a message from Alice to Bob, is what the A=g^a 
mod p value is, for the Alice public key (p, g, A) is, in an 
ElGamalKeys::PublicKey 

I know an Encryptor/Decryptor can import keys, but I have been trying to 
dump the individual values so I can follow exactly how it is working.

Can anyone tell me how I am able to find that value? 

Thanks

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to