I have already found several examples by Google, but none that explain how a java cryptography works with AES ... How does it work?
In an example of the net, the guy cites that he has to use a key, but does not explain why or what it is for;
ex:
public static final byte[] CHAVE = {85, 10, 0, -25, 68, 88, 46, 37, 107, 48, 10, -1, -37, -90, 70, -36};
What is the key for? Can it be any value? What does this AES have different from others? Does it work on Android?
Edit: After a conversation in the comments, I understood that I have to use a static key, because I will use it in a game, just to save a value using shared pref. of Android. This value is the highest rank of the player!
But it still fits my question, can it be any value? I understood nothing of this example (the key I posted) ...