This name is sort of silly, this function generates random bytes and does not calculate the entropy of anything. Also given that we need the hash of the random string and the random string, this function should probably return both if it is being specialized for usage by the swarm package.