Re: [JSch-J2ME] AES in JSch for J2ME CDC
Status: Alpha
Brought to you by:
ymnk
|
From: <ym...@jc...> - 2006-05-01 06:47:51
|
Hi,
+-From: "Radovan Skolnik" <rad...@te...> --
|_Date: Fri, 28 Apr 2006 15:30:57 +0200 _________________
|
|For a project I'm currently developing I use latest version of JSch for J2ME
|CDC (jsch-0.1.17-J2MECDC-20050224). In that version there is no support for
|AES. I tried to add it by mimicing BlowfishCBC.java and TripleDESCBC.java
|from com.jcraft.jsch.bc however it doesn't work. It ends up with
|IndexOutOfBoundsException somewhere in Session - decryption fails probably.
|As I am no expert in cryptography I cannot find the reason. Would anyone be
|able to help me with this? Thank you very much.
The current implementation has expected that the size of
cipher's IV(Initial Vector) is in 8 bytes, but AES will use 16 bytes for IV.
I guess that is the reason.
I'll modify the code and post it to this list for your testing.
Please wait for a while.
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/
|