dunex.auth.crypt

Members

Aliases

UBase64
alias UBase64 = Base64Impl!('.', '/')

Implementation of base64 which uses '.' and '/'

Enums

Algorithm
enum Algorithm

The available algorithms for crypto

Functions

crypt
string crypt(string plaintext, string salt)

The UNIX password encryption function. It is based on the DES algorithm with variants intended (among other things) to discourage use of hardware implementations of a key search.

cryptorandom
ubyte[] cryptorandom(size_t length)

Gets sequence of cryptographically secure random bytes from /dev/urandom

makeSalt
string makeSalt(Algorithm algo)

Make a UNIX salt with the specified algorithm

Meta