password: Hashing and checking of passwords
A library providing functionality for working with plain-text and hashed passwords with different types of algorithms.
Every supported hashing algorithm has its own module (e.g. Data.Password.Bcrypt)
which exports its own
checkPassword functions, as well as all the
types and functions in this module. If you are not sure about the specifics of an
algorithm you want to use, you can rest assured that by using the
of the respective algorithm you are not making any big mistakes, security-wise.
Of course, if you know what you're doing and you want more fine-grained control
over the hashing function, you can adjust it using the
function of the respective algorithm.
Generally, the most "secure" algorithm is believed to be
bcrypt, and lastly
PBKDF2 are the most established algorithms, so they have been tried and
tested, though they both lack a memory cost, and therefore have a greater vulnerability
to specialized hardware attacks.
When choosing an algorithm, and you have no idea which to pick, just go for
your password does not need the highest security possible.
It's still a fine way for hashing passwords, and the cost is easily adjustable if needed.
If your needs do require stronger protection, you should find someone who can advise you
on this topic. (And if you're already knowledgeable enough, you know what to do)
[Skip to Readme]
- password-18.104.22.168.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Versions [RSS]||0.1.0.0, 0.1.0.1, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52|
|Dependencies||base (>=4.9 && <5), base64 (>=0.3 && <0.5), bytestring (>=0.10.8.1 && <0.11), cryptonite (>=0.15.1), memory (>=0.14), password-types (<2), template-haskell, text (>=1.2.2 && <1.3) [details]|
|Copyright||Copyright (c) Dennis Gosnell, 2019; Felix Paulusma, 2020|
|Author||Dennis Gosnell, Felix Paulusma|
|Revised||Revision 2 made by cdepillabout at 2022-03-15T04:49:38Z|
|Source repo||head: git clone https://github.com/cdepillabout/password|
|Uploaded||by nideco at 2022-03-08T22:33:44Z|
|Downloads||2836 total (34 in the last 30 days)|
|Rating||2.0 (votes: 1) [estimated by Bayesian average]|
|Status||Docs available [build log]
Last success reported on 2022-03-09 [all 1 reports]