pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-Des This is a pure python implementation o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fc12e1bf758
branches: trunk
changeset: 610744:2fc12e1bf758
user: pettai <pettai%pkgsrc.org@localhost>
date: Sun Nov 04 21:57:11 2012 +0000
description:
This is a pure python implementation of the DES encryption algorithm.
It is in pure python to avoid portability issues, since most DES
implementations are programmed in C (for performance reasons).
Triple DES class is also implemented, utilising the DES base. Triple DES
is either DES-EDE3 with a 24 byte key, or DES-EDE2 with a 16 byte key.
See the "About triple DES" section below more info on this algorithm.
The code below is not written for speed or performance, so not for those
needing a fast des implementation, but rather a handy portable solution
ideal for small usage.
diffstat:
security/py-Des/DESCR | 11 +++++++++++
security/py-Des/Makefile | 17 +++++++++++++++++
security/py-Des/PLIST | 4 ++++
security/py-Des/distinfo | 5 +++++
4 files changed, 37 insertions(+), 0 deletions(-)
diffs (53 lines):
diff -r e698c6bfc0a5 -r 2fc12e1bf758 security/py-Des/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-Des/DESCR Sun Nov 04 21:57:11 2012 +0000
@@ -0,0 +1,11 @@
+This is a pure python implementation of the DES encryption algorithm.
+It is in pure python to avoid portability issues, since most DES
+implementations are programmed in C (for performance reasons).
+
+Triple DES class is also implemented, utilising the DES base. Triple DES
+is either DES-EDE3 with a 24 byte key, or DES-EDE2 with a 16 byte key.
+See the "About triple DES" section below more info on this algorithm.
+
+The code below is not written for speed or performance, so not for those
+needing a fast des implementation, but rather a handy portable solution
+ideal for small usage.
diff -r e698c6bfc0a5 -r 2fc12e1bf758 security/py-Des/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-Des/Makefile Sun Nov 04 21:57:11 2012 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2012/11/04 21:57:11 pettai Exp $
+#
+
+DISTNAME= pyDes-2.0.1
+PKGNAME= ${PYPKGPREFIX}-Des-2.0.1
+CATEGORIES= security
+MASTER_SITES= http://twhiteman.netfirms.com/pyDES/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://twhiteman.netfirms.com/pyDES/
+COMMENT= DES implementation in python
+LICENSE= public-domain
+
+PYDISTUTILSPKG= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e698c6bfc0a5 -r 2fc12e1bf758 security/py-Des/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-Des/PLIST Sun Nov 04 21:57:11 2012 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2012/11/04 21:57:11 pettai Exp $
+${PYSITELIB}/pyDes.py
+${PYSITELIB}/pyDes.pyc
+${PYSITELIB}/pyDes.pyo
diff -r e698c6bfc0a5 -r 2fc12e1bf758 security/py-Des/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-Des/distinfo Sun Nov 04 21:57:11 2012 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/11/04 21:57:11 pettai Exp $
+
+SHA1 (pyDes-2.0.1.tar.gz) = c6fc0fbb86d50706337cb5aa6a3a59b444cb1322
+RMD160 (pyDes-2.0.1.tar.gz) = 08784eee7bc8075d6bb1c2ae5673e1796a811787
+Size (pyDes-2.0.1.tar.gz) = 11039 bytes
Home |
Main Index |
Thread Index |
Old Index