For Oracle JDK 7 (tested), the default cipher for AES is AES/ECB/PKCS5Padding. The Java Security documentation doesn’t mention about this though (http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#algspec), have to do some JUnit testing to find out.
More Related Contents:
- Java 256-bit AES Password-Based Encryption
- Image encryption/decryption using AES256 symmetric block ciphers [closed]
- How to encrypt or decrypt with Rijndael and a block-size of 256 bits?
- How to decrypt an encrypted AES-256 string from CryptoJS using Java? [closed]
- Password Verification with PBKDF2 in Java
- Java openssl encryption / decryption key generation [duplicate]
- How to avoid installing “Unlimited Strength” JCE policy files when deploying an application?
- InvalidKeyException Illegal key size
- Initial bytes incorrect after Java AES/CBC decryption
- How to hash some string with sha256 in Java?
- Java AES and using my own Key
- IllegalBlockSizeException when trying to encrypt and decrypt a string with AES
- Java, How to implement a Shift Cipher (Caesar Cipher)
- Handling Java crypto exceptions
- Better way to create AES keys than seeding SecureRandom
- Android encryption
- How to create a secure random AES key in Java?
- javax.crypto.BadPaddingException
- Too much data for RSA block fail. What is PKCS#7?
- How can I list the available Cipher algorithms?
- Generating X509 Certificate using Bouncy Castle Java
- How to hash some String with SHA-256 in Java?
- iText/BouncyCastle ClassNotFound org.bouncycastle.asn1.DEREncodable and org.bouncycastle.tsp.TimeStampTokenInfo
- java.security.NoSuchAlgorithmException:Cannot find any provider supporting AES/ECB/PKCS7PADDING
- How can I make my AES encryption identical between Java and Objective-C (iPhone)?
- How to append to AES encrypted file
- SecureRandom with NativePRNG vs SHA1PRNG
- Encrypt with Node.js Crypto module and decrypt with Java (in Android app)
- How are the IV and authentication tag handled for “AES/GCM/NoPadding”?
- Breaking down RSA/ECB/OAEPWithSHA-256AndMGF1Padding