Popularity
8.5
Growing
Activity
7.8
-
52
5
15

Monthly Downloads: 69
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data     Password    
Latest version: v0.3.0.1
Add another 'password' Package

README

password

Build Status [BSD3 license](./LICENSE)

This repo provides packages for easily working with passwords in Haskell. This is mainly to be used for web applications that need to receive plain-text passwords from users, and store hashed passwords in a database.

The [password](./password) package provides datatypes and functions for working with plain-text and hashed passwords. The Data.Password module contains the base datatypes and every algorithm has its own module in the form of Data.Password.ALGORITHM (e.g. Data.Password.Bcrypt) with the functions for the hashing and checking of passwords.

The [password-instances](./password-instances) package and Data.Password.Instances module adds convenient instances for passwords, like FromJSON and PersistField.

In general, if you are writing a web application and need to handle passwords, you should use the password package together with password-instances.


*Note that all licence references and agreements mentioned in the password README section above are relevant to that project's source code only.