passwd.bcrypt

Niels Provos' and David Mazières' bcrypt, a crypt(3) algorithm based on Bruce Schneier's Blowfish cipher

The main export is the Bcrypt struct. The genSalt() method takes an optional cost parameter.

The high-level algorithm is described at https://en.wikipedia.org/w/index.php?title=Bcrypt&oldid=962257995 The underlying Blowfish algorithm is specified at https://www.schneier.com/academic/blowfish/

Public Imports

std.typecons
public import std.typecons : Flag, No, Yes;

Members

Structs

Bcrypt
struct Bcrypt

Routines for bcrypt

Meta