Public key encryption example.

Laura Creighton lac at openend.se
Thu Nov 19 06:51:23 EST 2015


In a message of Wed, 18 Nov 2015 16:18:28 -0700, Vincent Davis writes:
>This might be a "Let me Google that for you question", I tried.
>I am looking for the "simplest" example of sending(encrypting) and
>receiving(decrypting) using public key encryption. I am think of something
>along the lines of having all the keys in local files and saving and
>reading the message from a local file.
>
>Possibly using cryptography library elliptic-curve
>https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec/#elliptic-curve-signature-algorithms
>
>Surly there is an example out there?
>
>Vincent Davis

pycrypto does this.

https://pypi.python.org/pypi/pycrypto
code and diagrams here
http://www.laurentluce.com/posts/python-and-cryptography-with-pycrypto/

There really isn't much to it.

Laura



More information about the Python-list mailing list