Hi,

On Thu, Feb 16, 2017 at 5:38 AM, Juno <[email protected]> wrote:
> If so, how should I pass the secret key when encrypting / decrypting using
> camel?
> Is it included in the header? Or does the message itself contain a secret
> key?

Secret key by definition must be shared with the involved parties
beforehand, if you send it along with the message you give your
adversary the means to decrypt the message and thus defeating the
purpose of encryption.

I would suggest that you setup a KeyStore (e.g. using keytool) that is
shared between both computers (i.e. copied over from one to another)
and load your secret key from it.

zoran
-- 
Zoran Regvart

Reply via email to