Encryption

dickcrich

Member
Licensed User
Longtime User
I'm not getting a good decription of data from my server, obviously missing something.

16 byte encryption key = yaX62INZNCqJ5/6l
The unencrypted data = Test1234*
The encrypted data is:
AvbebeuvOQk5uCXqh2b+SipYJ/ISgQrzKB++6s8gHWc=

Attached PC program's ActiveX setup is attached

Any help would be terrific.
Thanks
 

Attachments

  • ActiveX.JPG
    65.2 KB · Views: 354

dickcrich

Member
Licensed User
Longtime User
I forgot to ad that the ActiveX padding 0 is PKCS5Padding

I have it set as DES/CBC/PKCS5Padding even though I believe I have a 16 byte key. I'm getting a padding corrupted message?
 

dickcrich

Member
Licensed User
Longtime User
I've tried it so many ways the code now looks like garbage. Off the top I'm having a problem as the PC's control says it's DES with a 16 byte key. Encryption rejects that off-hand saying DES requires an 8 byte key.

It's obviously tied up with this inconsistency with des, cbc, a bzip2 compression algorithm, rijndael, base64 encoding, sha1 hash algorithm, etc. I may have to resolve it in my web service and pass it back in a compatible format.

Any ideas would be great, I'll get it done one way or another.

Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…