[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: Add python-pycryptodome.

From: Oleg Pykhalov
Subject: 03/04: gnu: Add python-pycryptodome.
Date: Wed, 24 Jan 2018 16:45:03 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit d32456d5a28ab5982030401ed830088f9d2e8fe4
Author: Oleg Pykhalov <address@hidden>
Date:   Fri Jan 19 22:58:50 2018 +0300

    gnu: Add python-pycryptodome.
    * gnu/packages/python-crypto.scm (python-pycryptodome): New public variable.
 gnu/packages/python-crypto.scm | 43 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index a545f0d..7b0054c 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -715,3 +715,46 @@ protocol (Javascript Object Signing and Encryption).")
 (define-public python2-josepy
   (package-with-python2 python-josepy))
+(define-public python-pycryptodome
+  (package
+    (name "python-pycryptodome")
+    (version "3.4.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pycryptodome" version))
+       (sha256
+        (base32
+         "1xrsd6ql4w0ypkxnsg3fivs3r3z6dd93x44lhvam7jzh3gixzn0q"))))
+    (build-system python-build-system)
+    (home-page "";)
+    (synopsis "Cryptographic library for Python")
+    (description "This package provides a cryptographic library for Python.
+It brings the following enhancements with respect to the last official version
+of PyCrypto:
address@hidden Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
address@hidden Accelerated AES on Intel platforms via AES-NI
address@hidden First class support for PyPy
address@hidden Elliptic curves cryptography (NIST P-256 curve only)
address@hidden Better and more compact API (nonce and iv attributes for ciphers,
+automatic generation of random nonces and IVs, simplified CTR cipher mode, and
address@hidden SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
address@hidden Salsa20 and ChaCha20 stream ciphers
address@hidden scrypt and HKDF
address@hidden Deterministic (EC)DSA
address@hidden Password-protected PKCS#8 key containers
address@hidden Shamir’s Secret Sharing scheme
address@hidden Random numbers get sourced directly from the OS (and not from a 
+in userspace)
address@hidden Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
address@hidden Major clean ups and simplification of the code base
address@hidden itemize\n")
+    (license license:bsd-2)))
+(define-public python2-pycryptodome
+  (package-with-python2 python-pycryptodome))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]