keysizethe size of the key (in bits).randomthe randomness source for any random bytes.
Initializes this KeyGenerator instance for the specified key size (in bits) using the specified randomness source.
[Android Documentation]