I would like to implement licensing in my app and need some help here.
The sample app has this:
// REPLACE WITH YOUR OWN SALT , THIS IS FROM EXAMPLE
private static final byte[] SALT = new byte[]{
-46, 65, 30, -128, -103, -57, 74, -64, 51, 88, -95, -45, 77, -117, -36, -113, -11, 32, -64,
89
};
I would like to know do I just change the numbers to some random number or do I have to generate it using SecureRandom
?
I came across this code, do I have to set the SALT variable from the clipboard?
Also, does SALT have to be different for every device or same?