c++ - Export Public Key parameters from Crypto++ ELGamalKeys -


i using cryptopp , trying export steps of each encryption/decryption can learn how elgamal works.

i have been trying learn elgamal encryption way of site:

https://cryptographyacademy.com/elgamal/

i able find subgrouporder, subgroupgenerator, , modulus of elgamalkeys::publickey, unable find 3rd parameter of publickey computed using alice's private exponent. according site:

 next alice chooses secret key sk=a between 1 , p−1 , computes a=g^a mod p  alice publish public key pk=(p,g,a). 

how access parameter publickey explicitly?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -