1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

To store passwords securely, they should be salted, then hashed with a

slow hash function. This library uses PBKDF1-SHA256, and handles all the
details. It uses the cryptohash package for speed; if you need a pure
Haskell library, pwstore-purehaskell has the exact same API, but uses
only pure Haskell. It is about 25 times slower than this package, but
still quite usable.

WWW:	https://github.com/PeterScott/pwstore

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2012-02-13 02:50:54 +00:00
parent 0354bd0101
commit 447fda15e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291133
4 changed files with 32 additions and 0 deletions

View File

@ -166,6 +166,7 @@ porte_port= ports-mgmt/hs-porte # executable
primitive_port= devel/hs-primitive
probability_port= math/hs-probability
PSQueue_port= devel/hs-PSQueue
pwstore-fast_port= security/hs-pwstore-fast
QuickCheck_port= devel/hs-QuickCheck
reactive_port= devel/hs-reactive
readline_port= devel/hs-readline

View File

@ -0,0 +1,21 @@
# New ports collection makefile for: hs-pwstore-fast
# Date created: November 19, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= pwstore-fast
PORTVERSION= 2.2
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Secure password storage
LICENSE= BSD
CABAL_SETUP= Setup.hs
USE_CABAL= base64-bytestring>=0.1 cryptohash>=0.6
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (cabal/pwstore-fast-2.2.tar.gz) = caa44e13f2746f9cf0efb3b2bf0194064b52675a28d3c14ddc4d31234bde690d
SIZE (cabal/pwstore-fast-2.2.tar.gz) = 6565

View File

@ -0,0 +1,8 @@
To store passwords securely, they should be salted, then hashed with a
slow hash function. This library uses PBKDF1-SHA256, and handles all the
details. It uses the cryptohash package for speed; if you need a pure
Haskell library, pwstore-purehaskell has the exact same API, but uses
only pure Haskell. It is about 25 times slower than this package, but
still quite usable.
WWW: https://github.com/PeterScott/pwstore