Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99049

Re: Public key encryption example.

From Laura Creighton <lac@openend.se>
Newsgroups comp.lang.python
Subject Re: Public key encryption example.
Date 2015-11-19 12:51 +0100
Message-ID <mailman.455.1447933892.16136.python-list@python.org> (permalink)
References <CALyJZZUEV311wZ5+QGkmfW3o=FsjDBAekAXW1FZ13LeeLtHK_A@mail.gmail.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Public key encryption example. Laura Creighton <lac@openend.se> - 2015-11-19 12:51 +0100

csiph-web