Hello:
Iīm working on a proyect that i need to decrypt a message using openss.
The message was originaly encrypted with cryptix. The keys were also generated
with cryptix.

Now i have successfully read a key in the cryptix format from a file.But i canīt
get to decrypt well everytime.
The strange thing is that sometimes the decryption works and sometimes it
doesīnt.

Here is something even more strange.
When i encrypt a message using cryptix i get some a little bit different than
when i encrypt using openssl. Looks like
it is a little bit shifted.

This is what i got (the entries in the buffer are separated by dots):

Message for encryption (64 bytes long):

0.2.36.-96.109.-113.-126.-14.76.85.58.91.117.31.117.-89.66.-4.-40.120.-108.123.-55.-63.-42.89.-100.-62.21.-71.35.-17.31.-14.-25.25.-13.111.48.16.-42.-19.-118.52.-52.-19.-71.-119.29.-43.18.96.-104.-23.-105.-43.50.17.-99.0.49.50.51.52.


Encrypted message using cryptix (64 bytes long):
9.-57.32.-63.-58.87.-65.21.-125.95.116.77.-22.21.-1.30.36.124.-40.-20.-86.107.-54.39.-66.-110.-55.-54.83.-10.120.95.-122.73.-15.54.66.41.-15.102.-104.-126.-37.4.-25.-65.-22.16.5.26.60.-93.85.73.90.97.32.19.61.-59.81.0.-110.-78.

Encrypted message using openssl (64 bytes long);
48.48.48.48.58.9.-57.32.-63.-58.87.-65.21.-125.95.116.77.-22.21.-1.30.36.124.-40.-20.-86.107.-54.39.-66.-110.-55.-54.83.-10.120.
95.-122.73.-15.54.66.41.-15.102.-104.-126.-37.4.-25.-65.-22.16.5.26.60.-93.85.73.90.97.32.19.61.

In both cases i use no padding.

Strange huh?
What are those 48.48.48..???

Help please..

Thanks
Andres


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to