In case anyone will need to do something similar, I have solved the problem, and here is how. I've created 2 methods, one that encodes byte arrays in hex strings and one that decodes hex strings into byte arrays. That way, I am calling the encoding to hex method after the result byte array of encrypted data is obtained, and the decode hex string to byte array method before running the decryption. Everything works like a charm now and I can save encrypted data as strings for later use.
Have fun, Mihai --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

