/// Creates a crypto component using the given `csprng` and fake `node_id`.
Creates a crypto component using the given `csprng` and fake `node_id`.
Creates a crypto component using the given ` csprng ` and fake ` node_id ` .
pub fn new_with_rng_and_fake_node_id(
        csprng: R,
        config: &CryptoConfig,
        logger: ReplicaLogger,
        registry_client: Arc<dyn RegistryClient>,
        node_id: NodeId,
    ) -> Self {
        Self::new_with_csp_and_fake_node_id(
            Csp::new_with_rng(csprng, config),
            logger,
            registry_client,
            node_id,
        )
    }
pub fn new_with_rng_and_fake_node_id ( csprng : R , config : & CryptoConfig , logger : ReplicaLogger , registry_client : Arc < dyn RegistryClient > , node_id : NodeId , ) -> Self { Self :: new_with_csp_and_fake_node_id ( Csp :: new_with_rng ( csprng , config ) , logger , registry_client , node_id , ) }
Creates a crypto component using the given `csprng` and fake `node_id`.
Creates a crypto component using the given ` csprng ` and fake ` node_id ` .
csprng
R
config
&CryptoConfig
logger
ReplicaLogger
registry_client
Arc<dyn RegistryClient>
node_id
NodeId