If I could only type properly. It should read:
*It always only fails at the END OF input stream.*
On Thursday, June 12, 2014 10:32:45 AM UTC-7, gnugu wrote:
>
> NOTE2: When decrypting the file using
>
> public void encryptDecrypt(InputStream input, OutputStream output) {
> final int BU
NOTE2: When decrypting the file using
public void encryptDecrypt(InputStream input, OutputStream output) {
final int BUFFER_SIZE = 1024;
try {
CipherOutputStream cipherStream = new CipherOutputStream(output,
_cipher);
byte[] buffer
NOTE: By 'text' in the post above I mean a short data from sql db. In which
case I use doFinal(data) and am not using cipher streams at all.
On Thursday, June 12, 2014 9:44:35 AM UTC-7, gnugu wrote:
>
> Hi Nikolay,
> Thanks for your response.
>
> I have tried _cipher = Cipher.getInstance(CIPHER_
Hi Nikolay,
Thanks for your response.
I have tried _cipher = Cipher.getInstance(CIPHER_PROVIDER, "BC"); before.
Makes no difference. I fact on my Android 4.4.3 when I do not specify "BC"
it still instantiates BouncyCastle.
What bothers me is that when I'm decrypting texts it works fine. Fails
On Sat, Jun 7, 2014 at 6:52 AM, gnugu wrote:
> Hi I am getting the following exception, when decrypting a file on Android
> based on user supplied password:
>
> Caused by: java.lang.ArrayIndexOutOfBoundsException: src.length=1024
> srcPos=1008 dst.length=16 dstPos=16 length=16
> at java.la
Try here http://javaranch.com or perhaps take a Java course? Android
development is much easier when you speak the language.
On 4/4/2012 4:48 AM, Graham Bright wrote:
Hi,
I can't figure out why I am getting and out of bounds exception ? Any
ideas
--
You received this message because you are
Hi,
I can't figure out why I am getting and out of bounds exception ? Any
ideas
Thanks
public static String[] items = new String[0];
public static HashMap map = new HashMap();
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
//
I'm seeing this on a Samsung Galaxy S II (GT-I9100G).
I'm building against level 14, targeting level 10 (min level 3).
I assume it's something to do with themes but have no idea where to start.
I'm pretty sure it's not happening on all Galaxy SIIs otherwise I would be
getting a lot more reports
8 matches
Mail list logo