__init__.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # -*- coding: utf-8 -*-
  2. #
  3. # ===================================================================
  4. # The contents of this file are dedicated to the public domain. To
  5. # the extent that dedication to the public domain is not available,
  6. # everyone is granted a worldwide, perpetual, royalty-free,
  7. # non-exclusive license to exercise all rights associated with the
  8. # contents of this file for any purpose whatsoever.
  9. # No rights are reserved.
  10. #
  11. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  12. # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  13. # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  14. # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  15. # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  16. # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  17. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  18. # SOFTWARE.
  19. # ===================================================================
  20. """Python Cryptography Toolkit
  21. A collection of cryptographic modules implementing various algorithms
  22. and protocols.
  23. Subpackages:
  24. Crypto.Cipher
  25. Secret-key (AES, DES, ARC4) and public-key encryption (RSA PKCS#1) algorithms
  26. Crypto.Hash
  27. Hashing algorithms (MD5, SHA, HMAC)
  28. Crypto.Protocol
  29. Cryptographic protocols (Chaffing, all-or-nothing transform, key derivation
  30. functions). This package does not contain any network protocols.
  31. Crypto.PublicKey
  32. Public-key encryption and signature algorithms (RSA, DSA)
  33. Crypto.Signature
  34. Public-key signature algorithms (RSA PKCS#1)
  35. Crypto.Util
  36. Various useful modules and functions (long-to-string conversion, random number
  37. generation, number theoretic functions)
  38. """
  39. __all__ = ['Cipher', 'Hash', 'Protocol', 'PublicKey', 'Util', 'Signature']
  40. __version__ = '2.6.1' # See also below and setup.py
  41. __revision__ = "$Id$"
  42. # New software should look at this instead of at __version__ above.
  43. version_info = (2, 6, 1, 'final', 0) # See also above and setup.py