What is the most secure encryption mode for Android?
<p>Currently I am using:</p>

<p>Algorithm_mode_padding="RSA/ECB/PKCS1Padding"
Provider="BC"</p>

<p>I have heard that ECB can cause patterns in the output.  What is the most secure Algorithm, mode and padding for Android at the moment? I will be using this for license files.</p>

<p>Also, what is the best keysize to use when creating a new public and private key?</p>
