vibe.db.mongo.sasl

SASL authentication functions

Types 1

Fields
private string m_firstMessageBare
private string m_nonce
private DigestType!SHA1 m_saltedPassword
private string m_authMessage
Methods
string createInitialRequest(string user) @safe
string update(string password, string challenge, int minIterations = 4096) @safe
string finalize(string challenge) @safe
private string escapeUsername(string user) static @safe
private static auto getClientProof(DigestType!SHA1 saltedPassword, string authMessage) @safe
private bool verifyServerSignature(ubyte[] signature, DigestType!SHA1 saltedPassword, string authMessage) static @safe @trusted

Functions 2

private fnSHA1HashMixerRNG g_rng() @safe
private fnDigestType!SHA1 pbkdf2(const ubyte[] password, const ubyte[] salt, int iterations) @safe