0e7a78c2ad
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.
17 lines
430 B
Makefile
17 lines
430 B
Makefile
# $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
|
|
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"
|