MD5Crypt

Routines for MD5-based crypt(3)

Members

Manifest constants

kMaxCryptStrLength
enum kMaxCryptStrLength;

Maximum length needed for output of crypt()

kMaxSaltStrLength
enum kMaxSaltStrLength;

Maximum length needed for output of genSalt()

Static functions

crypt
void crypt(const(char)[] password, Out output, const(CryptPieces) salt_data, Flag!"writeSalt" write_salt)

Hash password and write full crypt(3) string or just encoded digest to an output range

genSalt
string genSalt()

Generate a good salt for this algorithm

genSalt
void genSalt(Out output)

Generate a good salt for this algorithm and write to an output range

Meta