Botan

Unix EntropySource

License
Botan is released under the Simplified BSD License (see LICENSE.md)

class  UnixEntropySource: botan.entropy.entropy_src.EntropySource;

Entropy source for generic Unix. Runs various programs trying to gather data hard for a remote attacker to guess. Probably not too effective against local attackers as they can sample from the same distribution.


this()(auto ref const Vector!string trusted_path, size_t proc_cnt = 0);

Parameters
Vector!string trusted_path is a list of directories that are assumed to contain only 'safe' binaries. If an attacker can write an executable to one of these directories then we will run arbitrary code.
size_t proc_cnt The amount of concurrent processes to use