dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
HashDRNG.setSeed
dcrypt
random
drng
HashDRNG
Initialize the generator with given seed.
struct
HashDRNG
(D, uint seedlen)
nothrow @
nogc
void
setSeed
(
in
ubyte
[]
seed
...
)
if
(
isStdDigest
!
D
&&
seedlen
% 8 == 0
)
Meta
Source
See Implementation
dcrypt
random
drng
HashDRNG
functions
addSeed
nextBytes
setSeed
Initialize the generator with given seed.