PwHash.hashPassword

Create a string that can be used to store a password safely. It includes the hash, the salt, and information about the CPU and memory limits used to compute it.

  1. string hashPassword(string password, PwHashConfig config)
    template PwHash(Algorithm alg)
    string
    hashPassword
  2. ubyte[] hashPassword(in char[] password, in Salt salt, PwHashConfig config, size_t length)

Meta