Function v8::V8::set_entropy_source

source ·
pub fn set_entropy_source(
    callback: impl UnitType + Into<EntropySource> + FnOnce(&mut [u8]) -> bool
)
Expand description

Allows the host application to provide a callback which can be used as a source of entropy for random number generators.