[lsc-users] Symmetric encryption : how to share the secret key ?
clem.oudot at gmail.com
Wed Oct 29 16:55:18 CET 2014
2014-10-29 16:31 GMT+01:00 Eric Cassette <Eric.Cassette at univ-lille1.fr>:
> Thanks for the answer.
> But the key file that is randomly generated by the java method
> "org.lsc.utils.security.SymmetricEncryption" has a size of 24 bytes. Is
> this size mandatory ? Does it mean that I must choose a passphrase with a
> length of 24 characters ? Or does it mean that, in the "lsc.key", only the
> first 16 bytes are useful and that the 8 other bytes are padding ?
Well, I don't know the answer, maybe another LSC dev can give you the
> I ask this, because I thought that the length of the passphrase for an AES
> 128bits symmetrical encryption was 16 bytes, and because I tried your
> suggestion before asking to the mail-list (with a 16 bytes lsc.key file),
> and that the result of the encryption by the LSC task has not be the same
> as the result obtained by the OpenLDAP people with a Perl script and some
> CPAN Crypt add-ons.
> To resume, let's say that before saying to the OpenLDAP people that they
> probably have made a mistake, I must be certain that the mistake does not
> come from me ;-)))
You can find here a Perl script that can be used with LSC encrypted values
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lsc-users