pub fn from_random_beacon_and_purpose(
        random_beacon: &RandomBeacon,
        purpose: &RandomnessPurpose,
    ) -> Self {
        let seed = Self::seed_from_crypto_hashable(random_beacon);
        Csprng::from_seed_and_purpose(&seed, purpose)
    }
/// Creates a CSPRNG from the given random beacon for the given purpose.
Creates a CSPRNG from the given random beacon for the given purpose.
Creates a CSPRNG from the given random beacon for the given purpose .
pub fn from_random_beacon_and_purpose(
        random_beacon: &RandomBeacon,
        purpose: &RandomnessPurpose,
    ) -> Self {
        let seed = Self::seed_from_crypto_hashable(random_beacon);
        Csprng::from_seed_and_purpose(&seed, purpose)
    }
pub fn from_random_beacon_and_purpose ( random_beacon : & RandomBeacon , purpose : & RandomnessPurpose , ) -> Self { let seed = Self :: seed_from_crypto_hashable ( random_beacon ) ; Csprng :: from_seed_and_purpose ( & seed , purpose ) }
Creates a CSPRNG from the given random beacon for the given purpose.
Creates a CSPRNG from the given random beacon for the given purpose .
random_beacon
&RandomBeacon
purpose
&RandomnessPurpose
random_beacon
&RandomBeacon
purpose
&RandomnessPurpose