SHACrypt.genSalt

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

  1. string genSalt(size_t num_rounds)
  2. void genSalt(Out output, size_t num_rounds)
    struct SHACrypt(Hasher, alias output_swaps, string algo_id)
    static
    void
    genSalt
    (
    Out
    )
    (
    ref Out output
    ,
    size_t num_rounds = kDefaultSHACryptRounds
    )
    if (
    isOutputRange!(Out, char)
    )

Meta