About 39,400 results
Open links in new tab
  1. AES Encryption and Decryption with Java - Stack Overflow

    AES Encryption and Decryption with Java Asked 11 years, 10 months ago Modified 2 years, 11 months ago Viewed 70k times

  2. Java AES and using my own Key - Stack Overflow

    I want to encrypt a string using AES with my own key. But I'm having trouble with the bit length of the key. Can you review my code and see what I need to fix/change. public static void main …

  3. Java AES encryption and decryption - Stack Overflow

    I would like to encrypt and decrypt a password using 128 bit AES encryption with 16 byte key. I am getting javax.crypto.BadPaddingException error while decrypting the ...

  4. Java 256-bit AES Password-Based Encryption - Stack Overflow

    Jun 14, 2009 · I need to implement 256 bit AES encryption, but all the examples I have found online use a "KeyGenerator" to generate a 256 bit key, but I would like to use my own …

  5. Java AES Encryption with salt - Stack Overflow

    How can I make Java encrypt String message1 = "hello world"; with String salt = "mySalt"; using AES encryption? also how can I decrypt it once encrypted? If you have the time to provide the …

  6. encryption - How to create a secure random AES key in Java?

    Aug 14, 2013 · What is the recommended way of generating a secure, random AES key in Java, using the standard JDK? In other posts, I have found this, but using a SecretKeyFactory might …

  7. encryption - Encrypt and Decrypt in Java - Stack Overflow

    Apr 25, 2012 · I would like to store an encrypted password in a Java file. I saw at a solution using javax.crypto, but the problem with that was that the key was being generated on the fly and it …

  8. java - Encrypt text to AES/CBC/PKCS7Padding - Stack Overflow

    Jun 27, 2014 · The Java specification list a number of encryption modes (and paddings) that needs to be supported. PKCS7Padding is not included. These are the AES/CBC modes any …

  9. Java default Crypto/AES behavior - Stack Overflow

    37 Does anyone know what the default Java crypto behavior is for: SecretKeySpec localSecretKeySpec = new SecretKeySpec(arrayOfByte, "AES"); Cipher localCipher = …

  10. Encrypt By javascript and decrypt by Java - Stack Overflow

    Oct 30, 2019 · Or, as it seems there is no ZeroPAdding in Java implemented (Cipher Documentation), take a look at How Encrypt with AES CBC Zero Padding in Javascript and …