EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PBKDF2 compatibility with OpenSSL

Posted: 10/05/2014 19:19:11
by Christian P (Basic support level)
Joined: 10/05/2014
Posts: 2

Hi, I have some kind of compatibility problem with OpenSSL.
I can't decrypt documents with openssl under linux that where previously encrypted with secureblackbox.
I found that with same passphrase and same salt, secureblackbox and openssl produce different key and IV.

Using the example in
password: test
salt: E645933E352A07CD

key: A316C7279A3EE9F0FF55EA063D3CFE748DA94A7C4522E75BE71E48AD94887481
IV: 019B5B393D66A7189D951A1528CBF506

But OpenSSL with command:
openssl aes-256-cbc -k test -S E645933E352A07CD -md sha256 -P
iv =0BBFD8308341005EECA4C363A8D8529A

I'm doing something wrong?
How can I ensure compatibility with other tools?

Posted: 10/05/2014 23:33:44
by Eugene Mayevski (Team)

The very first thing to check is whether you remembered to set the license key in the sample.

Next, the sample you've chosen was designed to be compatible with particular JS library. It is possible that you need to change other encryption parameters (either in SecureBlackbox or in OpenSSL) to ensure the same result.

Please note that Basic support level available to evaluating users doesn't include fine-tuning individual parameters to get compatibility with particular software titles.

Sincerely yours
Eugene Mayevski
Posted: 10/06/2014 09:45:15
by Christian P (Basic support level)
Joined: 10/05/2014
Posts: 2

I understand. I only was checking compatibility of Secureblackbox to chose a library for a new project.

Thank you anyway.




Topic viewed 718 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!