centsol / marketlicensing

Automatically exported from code.google.com/p/marketlicensing
Apache License 2.0
0 stars 0 forks source link

20 randomly generated bytes #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?
Android v2.2, Windows XP

Please provide any additional information below.
I have just started playing around with the licensing. In the website, it says" 
Declare a private static final array to hold the salt bytes and initialize it 
to 20 randomly generated bytes."
How can I generate 20 randomly bytes? What are these numbers on the example? 
Can I just put any numbers there?

Original issue reported on code.google.com by padla...@gmail.com on 22 Jan 2011 at 11:48

GoogleCodeExporter commented 8 years ago
correction...windows 7

Original comment by padla...@gmail.com on 22 Jan 2011 at 11:50

GoogleCodeExporter commented 8 years ago
Yes, ANY 20 randomly generated bytes. Try:

http://www.random.org/integers/?num=20&min=0&max=255&col=5&base=10&format=html&r
nd=new

Original comment by tim.men...@gmail.com on 1 Jul 2011 at 4:46