Dominique Lohez wrote:
This could be due to the fact that in JAVA character are coded in
UNICODE ( Each character uses 2 bytes)
While in C each character is coded with only one byte for each
character. This could be checked from JAVA by squeezing
the first byte of each character.
I would have to check the APIs to be sure, but I thought the Cipher
class took byte[] instead of char[]. You have to specify an "encoding"
to go from chars to bytes, but any of the ISO-8859s would give you one
of the standard enhanced ASCIIs.
Bear
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]