Search:

Type: Posts; User: wmd

Search: Search took 0.65 seconds.

  1. Replies
    5
    Views
    627

    Re: Problem decrypting with AES

    Here's what I changed the decrypt method to:


    public String decrypt(String strCipherText)
    {
    try
    {
    aesCipher.init(Cipher.DECRYPT_MODE, secretKey);
    byteCipherText = new...
  2. Replies
    5
    Views
    627

    Re: Problem decrypting with AES

    I just tested with something like:

    String encryptedString = encrypt("test123");
    String decryptedString = decrypt(encryptedString);

    Eitherway, I managed to solve the problem myself. I just...
  3. Replies
    5
    Views
    627

    Problem decrypting with AES

    Can anyone see anything that's obviously wrong with my decrypt method in the code below? I'm not getting any errors during any part of the code, it's just that the decrypted data is coming out as...
Results 1 to 3 of 3