(abstract) new ElGamalZKPoKAdapter()
Adapter for verificatum.crypto.ElGamalZKPoK
that creates verificatum.crypto.ZKPoK that imposes
restrictions on plaintexts and ciphertexts.
- Source:
Methods
getZKPoK(publicKey)
Generates a verificatum.crypto.ZKPoK that
imposes restrictions on ciphertexts.
Parameters:
Name | Type | Description |
---|---|---|
publicKey |
El Gamal public key. |
- Source:
Returns:
Instance of verificatum.crypto.ZKPoK.