All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Old 22-06-2004, 12:50 AM
nima81 nima81 is offline
Registered User
Join Date: Jun 2004
Posts: 1
nima81 is on a distinguished road
Cypher, null input buffer

I am using Cypher to decrypt data. But when I try to call the doFinal method, I get
java.lang.IllegalArgumentException: Null input buffer.
The erroneous line appears to be:
byte[] decoded = c2.doFinal(Base64.decode(encoded2));


Old 22-06-2004, 10:03 AM
wahchild wahchild is offline
Registered User
Join Date: Sep 2002
Location: Nottingham, UK
Posts: 176
wahchild is on a distinguished road
First question...what's Cypher?

There is no Cypher implementation in MIDP 1.0 or 2.0 (as far as I'm aware).

The only one I can think of is in JavaCard, though I'm guessing it's not that as it's spelt 'Cipher' and the doFinal method takes more than one parameter:

public abstract short doFinal(byte[] inBuff,
short inOffset,
short inLength,
byte[] outBuff,
short outOffset)
throws CryptoException

Only other thing I could think of is that it's part of PersonalJava?


buffer, cypher, input, null

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
English input on P800 (chinese) with flip closed? tinman Sony Ericsson P800, P900 and P910 5 16-08-2003 02:54 AM
How to install standard English text input Bytemaster Sony Ericsson P800, P900 and P910 5 18-06-2003 07:35 PM
T9 Input Tigerdyr2 Sony Ericsson P800, P900 and P910 22 28-05-2003 02:34 PM

All times are GMT. The time now is 01:11 AM.

vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy