getrandom-runtime-seeded
A custom getrandom implementation that uses a ChaChaRng instance set at runtime.
Setup
To register the function, we first depend on getrandom-runtime-seeded and getrandom with the custom feature in Cargo.toml:
[]
= "0.1"
= { = "0.2", = ["custom"] }
``
we register the function in src/lb.rs:
always_fail;
register_custom_getrandom;
always_fail);