-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbcrypt.cabal
35 lines (31 loc) · 1.85 KB
/
bcrypt.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Name: bcrypt
Version: 0.0.11
Cabal-Version: >= 1.6
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: Copyright (C) 2011 Andrew Miller
Author: Andrew Miller
Maintainer: [email protected]
Category: Data, Cryptography
Stability: experimental
description: Haskell bindings to the bcrypt password hash.
.
Unlike other bindings already in existence, this package is designed to allow users to work directly with password hash strings that include information about the hashing algorithm, strength, and salt. This approach allows hashed passwords to be stored in a single field that can also be used by non-Haskell applications, and makes it easy to implement a policy of updating passwords hashed to an old policy next time the plaintext password is available.
.
Version 1.1.3 of the OpenWall C source for bcrypt is included in this package (<http://www.openwall.com/crypt/>). The only modification is that the flag which enables the use of assembler has been disabled.
Announcements about hs-bcrypt (including security announcements) will be sent to https://groups.google.com/forum/#!forum/hs-bcrypt-announce/join - if you use this library please consider subscribing. This mailing list is moderated and is expected to have a very low volume of mail traffic.
synopsis: Haskell bindings to the bcrypt password hash
extra-source-files: csrc/crypt_blowfish.h csrc/crypt_gensalt.h csrc/crypt.h csrc/ow-crypt.h
Library
exposed-modules: Crypto.BCrypt
include-dirs: csrc
c-sources: csrc/crypt_blowfish.c csrc/crypt_blowfish_wrapper.c csrc/crypt_gensalt.c
build-depends: base >= 3 && < 5
, bytestring >= 0.9
, data-default >= 0.6.0
, entropy < 0.5
, memory >= 0.9 && < 1.0
source-repository head
type: git
location: http://github.com/a1kmm/hs-bcrypt