snap_getEntropy
Parameters
version
1The version of the entropy to retrieve. This is used for backwards compatibility. As of now, only version 1 is supported.
salt
string | undefinedThe optional salt to use when deriving the entropy.
source
string | undefinedThe ID of the entropy source to use. If not specified, the primary entropy
source will be used. For a list of available entropy sources, see the
snap_listEntropySources method.