I'm making an encryption function in Python and I want to encrypt a random number using a public key.
I wish to know that if I use Crypto package (Crypto.publicKey.pubkey
) than how can I use the method like...
def encrypt(self,plaintext,k)
Here the k
is itself a random number, is this mean the key. Can somebody help me with somewhat related?