[tahoe-lafs-trac-stream] [pycryptopp] #71: curve25519 wrapper

pycryptopp trac at tahoe-lafs.org
Tue Nov 29 20:43:21 UTC 2011


#71: curve25519 wrapper
------------------------+------------------------------
Reporter:  xueyucoder   |          Owner:  zooko, xueyu
    Type:  enhancement  |         Status:  new
Priority:  major        |      Milestone:
 Version:  0.5.19       |     Resolution:
Keywords:  curve25519   |  Launchpad Bug:
------------------------+------------------------------

Comment (by warner):

 Also see https://github.com/agl/curve25519-donna , which includes a python
 binding (that I wrote). The {{{PublicKey}}}/{{{PrivateKey}}} objects might
 make a nice API, or maybe there's some Crypto++ pattern that we should
 stick to. It's worth remembering that Curve25519 only offers DH key
 agreement (the output is a 256-bit shared random key). You can build
 public-key encryption on top of that, though (by creating a random keypair
 for each encryption, and including the public half along with the
 encrypted message, then discarding the private half).

-- 
Ticket URL: <http://tahoe-lafs.org/trac/pycryptopp/ticket/71#comment:2>
pycryptopp <https://tahoe-lafs.org/trac/pycryptopp>



More information about the tahoe-lafs-trac-stream mailing list