Fixed various gotcha-esque bugs for Android compatibility

SecretKeyFactory.generateSecret() isn't necessary, just make a new SecretKeySpec()
Need to explicitly pick RSA mode and padding when JCE/platform setup isn't exactly the same