My point was that ECB
may not work with RSA, and that
you should try a different
mode (e.g. NONE), not a different
cipher.
Also, this will not work:
Cipher text is binary, not text, so you can't convert it to a
String like this. If you need an ASCII representation of it, use base-64 encoding.