Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/Crypto/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 07:03 +0000

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 

21"""Python Cryptography Toolkit 

22 

23A collection of cryptographic modules implementing various algorithms 

24and protocols. 

25 

26Subpackages: 

27 

28Crypto.Cipher 

29 Secret-key (AES, DES, ARC4) and public-key encryption (RSA PKCS#1) algorithms 

30Crypto.Hash 

31 Hashing algorithms (MD5, SHA, HMAC) 

32Crypto.Protocol 

33 Cryptographic protocols (Chaffing, all-or-nothing transform, key derivation 

34 functions). This package does not contain any network protocols. 

35Crypto.PublicKey 

36 Public-key encryption and signature algorithms (RSA, DSA) 

37Crypto.Signature 

38 Public-key signature algorithms (RSA PKCS#1) 

39Crypto.Util 

40 Various useful modules and functions (long-to-string conversion, random number 

41 generation, number theoretic functions) 

42""" 

43 

44__all__ = ['Cipher', 'Hash', 'Protocol', 'PublicKey', 'Util', 'Signature', 'IO'] 

45 

46__version__ = '2.7a1' # See also below and setup.py 

47__revision__ = "$Id$" 

48 

49# New software should look at this instead of at __version__ above. 

50version_info = (2, 7, 0, 'alpha', 1) # See also above and setup.py 

51