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


Groups > comp.lang.python > #99028

Re: Public key encryption example.

From Vincent Davis <vincent@vincentdavis.net>
Newsgroups comp.lang.python
Subject Re: Public key encryption example.
Date 2015-11-18 19:22 -0700
Message-ID <mailman.443.1447899772.16136.python-list@python.org> (permalink)
References <mailman.431.1447888735.16136.python-list@python.org> <87vb8ylv5a.fsf@nightsong.com> <CAPTjJmr8mmDU7xWgeMZUaxb8rHjYO=Vmk5_5_-9XynezpVM8Yg@mail.gmail.com>

Show all headers | View raw


Found an example, needs a little updating but then it works (appears to) in
python 3.5.
http://coding4streetcred.com/blog/post/Asymmetric-Encryption-Revisited-(in-PyCrypto)

Vincent Davis
720-301-3003

On Wed, Nov 18, 2015 at 5:04 PM, Chris Angelico <rosuav@gmail.com> wrote:

> On Thu, Nov 19, 2015 at 10:56 AM, Paul Rubin <no.email@nospam.invalid>
> wrote:
> > Vincent Davis <vincent@vincentdavis.net> writes:
> >> 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.
> >
> > It's very easy to make mistakes doing stuff like that.  Your simplest
> > bet is to shell out to GPG or something comparable.
>
> It's not that hard to pull up a library. I've never done it in Python,
> though.
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>

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


Thread

Public key encryption example. Vincent Davis <vincent@vincentdavis.net> - 2015-11-18 16:18 -0700
  Re: Public key encryption example. Paul Rubin <no.email@nospam.invalid> - 2015-11-18 15:56 -0800
    Re: Public key encryption example. Chris Angelico <rosuav@gmail.com> - 2015-11-19 11:04 +1100
    Re: Public key encryption example. Vincent Davis <vincent@vincentdavis.net> - 2015-11-18 19:22 -0700

csiph-web