passwd ~master (2020-07-27T11:05:43Z)
Dub
Repo
SHACrypt.genSalt
passwd
sha
SHACrypt
Generate a good salt for this algorithm and write to an output range
string
genSalt
(size_t num_rounds)
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
Source
See Implementation
passwd
sha
SHACrypt
manifest constants
kMaxCryptStrLength
kMaxSaltStrLength
static functions
crypt
genSalt
Generate a good salt for this algorithm and write to an output range