Private IPFS networks can be created by referencing the Swarm key generated by the
ipfs-swarm-key-gen package developed by @Kubuxu (Lots of thanks & high fives!)
I took a glance at the code and the package seems to use crypto's
rand.Read() to assign random values in a byte array initiated as
However, I'm interested to understand the probability of repetition of the swarm key generated by another arbitrary node. Is it fair to assume this is mathematically implausible?
EDIT 1: Also wondering if a node X could receive 2 swarm keys belonging to respective private swarms A and B; to allow requests to data from disparate swarms without merging the both the networks? Could that be in alignment to IPFS thinking?
All thoughts & comments are welcome.