random - How do I create a strong 64 bit number? -


this question has answer here:

does know how can create method generates random 64 bit number (0 2^63 - 1) converted character string?

thanks

in c# might try this:

byte[] bytes = new byte[64]; random rnd = new random(); rnd.nextbytes(bytes); var str64 =  convert.tobase64string(bytes); 

Comments