diff options
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index eacd085e55b..d1615f0de50 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -715,3 +715,46 @@ protocol (Javascript Object Signing and Encryption).") | |||
| 715 | 715 | ||
| 716 | (define-public python2-josepy | 716 | (define-public python2-josepy |
| 717 | (package-with-python2 python-josepy)) | 717 | (package-with-python2 python-josepy)) |
| 718 | |||
| 719 | (define-public python-pycryptodome | ||
| 720 | (package | ||
| 721 | (name "python-pycryptodome") | ||
| 722 | (version "3.4.7") | ||
| 723 | (source | ||
| 724 | (origin | ||
| 725 | (method url-fetch) | ||
| 726 | (uri (pypi-uri "pycryptodome" version)) | ||
| 727 | (sha256 | ||
| 728 | (base32 | ||
| 729 | "1xrsd6ql4w0ypkxnsg3fivs3r3z6dd93x44lhvam7jzh3gixzn0q")))) | ||
| 730 | (build-system python-build-system) | ||
| 731 | (home-page "https://www.pycryptodome.org") | ||
| 732 | (synopsis "Cryptographic library for Python") | ||
| 733 | (description "This package provides a cryptographic library for Python. | ||
| 734 | |||
| 735 | It brings the following enhancements with respect to the last official version | ||
| 736 | of PyCrypto: | ||
| 737 | |||
| 738 | @itemize | ||
| 739 | @item Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) | ||
| 740 | @item Accelerated AES on Intel platforms via AES-NI | ||
| 741 | @item First class support for PyPy | ||
| 742 | @item Elliptic curves cryptography (NIST P-256 curve only) | ||
| 743 | @item Better and more compact API (nonce and iv attributes for ciphers, | ||
| 744 | automatic generation of random nonces and IVs, simplified CTR cipher mode, and | ||
| 745 | more) | ||
| 746 | @item SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms | ||
| 747 | @item Salsa20 and ChaCha20 stream ciphers | ||
| 748 | @item scrypt and HKDF | ||
| 749 | @item Deterministic (EC)DSA | ||
| 750 | @item Password-protected PKCS#8 key containers | ||
| 751 | @item Shamir’s Secret Sharing scheme | ||
| 752 | @item Random numbers get sourced directly from the OS (and not from a CSPRNG | ||
| 753 | in userspace) | ||
| 754 | @item Cleaner RSA and DSA key generation (largely based on FIPS 186-4) | ||
| 755 | @item Major clean ups and simplification of the code base | ||
| 756 | @end itemize\n") | ||
| 757 | (license license:bsd-2))) | ||
| 758 | |||
| 759 | (define-public python2-pycryptodome | ||
| 760 | (package-with-python2 python-pycryptodome)) | ||
