|  | 
        
          | encrypt(self,
        plaintext,
        K) Encrypt a piece of data with ElGamal.
 |  |  | 
    |  | 
        
          | decrypt(self,
        ciphertext) Decrypt a piece of data with ElGamal.
 |  |  | 
    |  | 
        
          | sign(self,
        M,
        K) Sign a piece of data with ElGamal.
 |  |  | 
    |  | 
        
          | verify(self,
        M,
        signature) Verify the validity of an ElGamal signature.
 |  |  | 
    |  | 
        
          | size(self) Tell the maximum number of bits that can be handled by this key.
 |  |  | 
    |  | 
        
          | has_private(self) Tell if the key object contains private components.
 |  |  | 
    |  | 
        
          | publickey(self) Construct a new key carrying only the public information.
 |  |  | 
  
    | Inherited from pubkey.pubkey:__init__,blind,can_blind,can_encrypt,can_sign,unblind |