android Programming Glossary: keygenerator.getinstance
Java SimpleCrypto Class for encryption / decryption producing different results in Coldfusion 9 and Java (Android) http://stackoverflow.com/questions/11418336/java-simplecrypto-class-for-encryption-decryption-producing-different-results getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed..
Encryption error on Android 4.2 http://stackoverflow.com/questions/13383006/encryption-error-on-android-4-2 throws NoSuchAlgorithmException KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed..
Android 4.2 broke my AES encrypt/decrypt code http://stackoverflow.com/questions/13389870/android-4-2-broke-my-aes-encrypt-decrypt-code getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed.. getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SC SecureRandom sr null if android.os.Build.VERSION.SDK_INT..
Android 4.2 broke my encrypt/decrypt code and the provided solutions don't work http://stackoverflow.com/questions/13433529/android-4-2-broke-my-encrypt-decrypt-code-and-the-provided-solutions-dont-work byte data String seed throws Exception KeyGenerator keygen KeyGenerator.getInstance AES SecureRandom secrand SecureRandom.getInstance SHA1PRNG secrand.setSeed.. byte data String seed throws Exception KeyGenerator keygen KeyGenerator.getInstance AES SecureRandom secrand SecureRandom.getInstance SHA1PRNG secrand.setSeed..
BouncyCastle AES error when upgrading to 1.45 http://stackoverflow.com/questions/4405334/bouncycastle-aes-error-when-upgrading-to-1-45 to generate raw keys from a passphrase KeyGenerator kgen KeyGenerator.getInstance AES BC SecureRandom sr SecureRandom.getInstance SHA1PRNG Crypto..
Securing media files in the mobile http://stackoverflow.com/questions/6676574/securing-media-files-in-the-mobile seed throws EncrypterException try final KeyGenerator kgen KeyGenerator.getInstance AES final SecureRandom sr SecureRandom.getInstance SHA1PRNG..
android encryption/decryption with AES http://stackoverflow.com/questions/6788018/android-encryption-decryption-with-aes byte keyStart this is a key .getBytes KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed..
Encrypt with Node.js Crypto module and decrypt with Java (in Android app) http://stackoverflow.com/questions/7787773/encrypt-with-node-js-crypto-module-and-decrypt-with-java-in-android-app getRawKey String seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG byte seedBytes..
Encrypt and decrypt data for Android app-client http://stackoverflow.com/questions/8397213/encrypt-and-decrypt-data-for-android-app-client getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed..
What are best practices for using AES encryption in Android? http://stackoverflow.com/questions/8622367/what-are-best-practices-for-using-aes-encryption-in-android getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed..
Encryption of video files? http://stackoverflow.com/questions/9496447/encryption-of-video-files Cipher decipher Cipher.getInstance AES KeyGenerator kgen KeyGenerator.getInstance AES byte key 0x00 0x32 0x22 0x11 0x00 0x00 0x00 0x00 0x00 0x23..
Java SimpleCrypto Class for encryption / decryption producing different results in Coldfusion 9 and Java (Android) http://stackoverflow.com/questions/11418336/java-simplecrypto-class-for-encryption-decryption-producing-different-results decrypt rawKey enc return new String result private static byte getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed seed kgen.init 128 sr 192 and 256 bits may not be available..
Encryption error on Android 4.2 http://stackoverflow.com/questions/13383006/encryption-error-on-android-4-2 key @throws NoSuchAlgorithmException private static byte getRawKey throws NoSuchAlgorithmException KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed KEY.getBytes kgen.init 128 sr SecretKey skey kgen.generateKey..
Android 4.2 broke my AES encrypt/decrypt code http://stackoverflow.com/questions/13389870/android-4-2-broke-my-aes-encrypt-decrypt-code decrypt rawKey encrypted return result private static byte getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed seed try kgen.init 256 sr catch Exception e Log.w LOG.. decrypt rawKey encrypted return result private static byte getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SC SecureRandom sr null if android.os.Build.VERSION.SDK_INT JELLY_BEAN_4_2 sr SecureRandom.getInstance SHA1PRNG Crypto..
Android 4.2 broke my encrypt/decrypt code and the provided solutions don't work http://stackoverflow.com/questions/13433529/android-4-2-broke-my-encrypt-decrypt-code-and-the-provided-solutions-dont-work was working until Android 4.2 public static byte encrypt byte data String seed throws Exception KeyGenerator keygen KeyGenerator.getInstance AES SecureRandom secrand SecureRandom.getInstance SHA1PRNG secrand.setSeed seed.getBytes keygen.init 128 secrand SecretKey.. return cipher.doFinal data public static byte decrypt byte data String seed throws Exception KeyGenerator keygen KeyGenerator.getInstance AES SecureRandom secrand SecureRandom.getInstance SHA1PRNG secrand.setSeed seed.getBytes keygen.init 128 secrand SecretKey..
BouncyCastle AES error when upgrading to 1.45 http://stackoverflow.com/questions/4405334/bouncycastle-aes-error-when-upgrading-to-1-45 1090 EDIT More about this issue. I am using the following to generate raw keys from a passphrase KeyGenerator kgen KeyGenerator.getInstance AES BC SecureRandom sr SecureRandom.getInstance SHA1PRNG Crypto sr.setSeed seed kgen.init 128 sr SecretKey skey kgen.generateKey..
Securing media files in the mobile http://stackoverflow.com/questions/6676574/securing-media-files-in-the-mobile new EncrypterException e private static byte getRawKey byte seed throws EncrypterException try final KeyGenerator kgen KeyGenerator.getInstance AES final SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed seed kgen.init 128 sr 192 and 256 bits may not be..
android encryption/decryption with AES http://stackoverflow.com/questions/6788018/android-encryption-decryption-with-aes 100 baos bm is the bitmap object byte b baos.toByteArray byte keyStart this is a key .getBytes KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed keyStart kgen.init 128 sr 192 and 256 bits may not be available..
Encrypt with Node.js Crypto module and decrypt with Java (in Android app) http://stackoverflow.com/questions/7787773/encrypt-with-node-js-crypto-module-and-decrypt-with-java-in-android-app the raw key is created like this private static byte getRawKey String seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG byte seedBytes seed.getBytes sr.setSeed seedBytes kgen.init 128 sr..
Encrypt and decrypt data for Android app-client http://stackoverflow.com/questions/8397213/encrypt-and-decrypt-data-for-android-app-client decrypt rawKey enc return new String result private static byte getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed seed kgen.init 128 sr 192 and 256 bits may not be available..
What are best practices for using AES encryption in Android? http://stackoverflow.com/questions/8622367/what-are-best-practices-for-using-aes-encryption-in-android decrypt rawKey enc return new String result private static byte getRawKey byte seed throws Exception KeyGenerator kgen KeyGenerator.getInstance AES SecureRandom sr SecureRandom.getInstance SHA1PRNG sr.setSeed seed kgen.init 128 sr 192 and 256 bits may not be available..
Encryption of video files? http://stackoverflow.com/questions/9496447/encryption-of-video-files decfile Cipher encipher Cipher.getInstance AES Cipher decipher Cipher.getInstance AES KeyGenerator kgen KeyGenerator.getInstance AES byte key 0x00 0x32 0x22 0x11 0x00 0x00 0x00 0x00 0x00 0x23 0x00 0x00 0x00 0x00 0x00 0x00 0x00 SecretKey skey kgen.generateKey..
|