Re: Source of Randomness in Fabric


In security related stuff I believe thatcrypto/rand is used, which I think simply reads from /dev/urandomwhile I think that some places in the code that just want to select random nodes to connect to might use math/rand, it depends on the use case.

From:        "Arnab" <arnabkaycee@...>
To:        hyperledger-fabric <hyperledger-fabric@...>
Date:        01/07/2020 02:38 PM
Subject:        [EXTERNAL] [Hyperledger Fabric] Source of Randomness in Fabric
Sent by:        fabric@...

Hi Fabric Experts,
I was exploring the codebase for sources of randomness in Fabric codebase for a client's Production system release.
Could anyone point me out the source files where random numbers are generated, and what is the source of it?
Arnab Chatterjee

Join to automatically receive all group messages.