However... this comment might be irrelevant. The code is actually joining 8
random 1-byte integers together (all produced by the same algorithm). We're
clearly attempting to make a number with 64 bits of entropy, and the comment
is quite oblique about that fact.
Change-Id: I59ac0c208bdb9d7f427fea4f205ee7293a710ca8
hexRnds[ i ] = byteToHex[ rnds[ i ] ];
}
- // Concatenation of two random integers with entrophy n and m
- // returns a string with entrophy n+m if those strings are independent
+ // Concatenation of two random integers with entropy n and m
+ // returns a string with entropy n+m if those strings are independent
return hexRnds.join( '' );
},