source: trunk/README.rst

Last change on this file was a1c59c4, checked in by Zooko <zookog@…>, at 2016-01-26T21:39:43Z

update metadata for 0.7.0 release

  • Property mode set to 100644
File size: 3.9 KB
Line 
1
2
3===========================================================
4 pycryptopp: a small number of good cryptography algorithms
5===========================================================
6
7Introduction and Licence
8========================
9
10Pycryptopp is a collection of Python interfaces to a few good crypto
11algorithms. It lives at https://tahoe-lafs.org/trac/pycryptopp
12
13RECOMMENDED algorithms:
14
15• XSalsa20 ; from the Crypto++ library ; see pycryptopp.cipher.xsalsa20
16• Ed25519 ; from the supercop library ; see pycryptopp.publickey.ed25519
17
18DEPRECATED algorithms:
19
20The maintainers of pycryptopp intend to stop supporting these soon. Please
21migrate away from depending on pycryptopp's implementation of these
22algorithms, or else write to us and offer some inducement to continue
23supporting them.
24
25• RSA from the Crypto++ library ; see pycryptopp.publickey.rsa ; deprecated
26  in favor of Ed25519
27• Ecdsa from the Crypto++ library ; see pycryptopp.publickey.ecdsa ;
28  deprecated in favor of Ed25519
29• SHA-256 from the Crypto++ library ; see pycryptopp.hash.sha256 ; deprecated
30  in favor of the Python Standard Library's hashlib module
31
32LICENCE
33-------
34
35You may use this package under the GNU General Public License, version 2 or,
36at your option, any later version. You may use this package under the
37Transitive Grace Period Public Licence, version 1.0 or, at your option, any
38later version. You may use this package under the MIT License. You may use
39this package under the Simple Permissive Licence.
40
41(You may choose to use this package under the terms of any of these licences,
42at your option.)
43
44See the file COPYING.GPL for the terms of the GNU General Public License,
45version 2. See the file COPYING.TGPPL.rst for the terms of the Transitive
46Grace Period Public Licence, version 1.0. See the file COPYING.MIT.txt for
47the terms of the MIT License. See the file COPYING.SPL.txt for the terms of
48the Simple Permissive Licence.
49
50BUILDING
51--------
52
53To build it run "python setup.py build". To test it run "python setup.py
54test". To install it into your system run "python setup.py install". To
55create a binary package run "python setup.py bdist_egg".
56
57If "python setup.py test" doesn't print out "PASSED" and exit with exit
58code 0 then there is something seriously wrong. Do not use this build of
59pycryptopp. Please report the error to the tahoe-dev mailing list ²_.
60
61To see some simple benchmarks run "python setup.py bench". If the "pyutil"
62library is installed then the benchmarks will include mean, best, worst, and
63quartiles of wall-clock time, else they will just report the mean wall-clock
64time per operation.
65
66DOCUMENTATION
67-------------
68
69The documentation is in the docstrings. From a command-line, use "pydoc
70pycryptopp", "pydoc pycryptopp.cipher", and so on. From within a Python
71interpreter use "help(pycryptopp)", "help(pycryptopp.cipher)",
72"help(pycryptopp.cipher.aes)" and so on.
73
74The documentation for pycryptopp.publickey.ed25519 is in README.ed25519.rst,
75adapted from the upstream python-ed25519 library.
76
77CONTACT
78-------
79
80Please post to the tahoe-dev mailing list ²_ with comments about this
81package.
82
83BOOK REVIEW
84-----------
85
86If you are not already acquainted with how to use modern cryptography, read
87Ferguson, Schneier, and Kohno “Cryptography Engineering”.  It is easy going
88and will increase your understanding greatly.
89
90ACKNOWLEDGEMENTS
91----------------
92
93Thanks to Wei Dai, Jeffrey Walton, and the other contributors to
94Crypto++, Andrew M. Kuchling for his "pycrypto" library which inspired
95this one, Brian Warner for help on Python packaging questions,
96python-Ed25519, inspiration, and a million other things besides, Greg
97Hazel and Samuel Neves for Windows porting and fixing bugs, Daira
98Hopwood for helping maintain pycryptopp, and Daniel J. Bernstein for
99Ed25519.
100
101
102Zooko Wilcox
103
104Berlin, Germany
105
1062016-01-03
107
108
109.. _¹: https://github.com/warner/python-ed25519
110.. _²: https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
Note: See TracBrowser for help on using the repository browser.