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

    AES Encryption and Decryption with Java Asked 11 years, 11 months ago Modified 3 years, 1 month 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 (Strin...

  3. 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 passkey. How can I …

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

    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 be a better …

  5. Java AES encryption and decryption - Stack Overflow

    Java AES encryption and decryption Asked 13 years, 6 months ago Modified 2 years, 6 months ago Viewed 120k times

  6. 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 most basic …

  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 was …

  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 Java implementation …

  9. encryption - How to write Java code for AES GCM Decryption using ...

    Jun 8, 2023 · 3 I am building a Java SDK for which I need to write a service to decrypt cipher text using initialVector, authenticationTag and secretKey. I am taking reference from equivalent node SDK. The …

  10. encryption - Java AES without padding - Stack Overflow

    Jun 25, 2012 · What are some of the simplest ways to AES encrypt and decrypt a 16 byte array without the automatic padding? I have found solutions that use external libraries, but I want to avoid that if …