> Vishal Mahajan wrote:
>> Maybe I'll put my question again in other words --
>>
>> What's the difference between "wrapping a key" and "encrypting
>>a
>> key" :-\ ?
>
> Key wrapping algorithms are especially de
appropriate
functionality. Alternatively if one wants to wrap a key, one will
initialize the XMLCipher to WRAP_MODE in order for it to perform the
appropriate functionality.
Maybe I'll put my question again in other words --
What's the difference between "wrapping a key&quo
functionality. Alternatively if one wants to wrap a key, one will
initialize the XMLCipher to WRAP_MODE in order for it to perform the
appropriate functionality.
Maybe I'll put my question again in other words --
What's the difference between "wrapping a key" and "encrypt
one wants to wrap a key, one will initialize the XMLCipher to WRAP_MODE
in order for it to perform the appropriate functionality.
Ax/
Vishal Mahajan wrote:
All,
Can someone explain what's the difference between the following two
ways of initializing the javax.crypto.Cipher class for encry
Vishal,
As far as i can figure out...WRAP_MODE is used for keys, ENCRYPT_MODE is used for the
data itself.
-- dims
--- Vishal Mahajan <[EMAIL PROTECTED]> wrote:
> All,
>
> Can someone explain what's the difference between the following two ways
> of initializing the ja
All,
Can someone explain what's the difference between the following two ways
of initializing the javax.crypto.Cipher class for encrypting a symmetric
key:
1) Cipher.init(WRAP_MODE, RSAPublicKey)
2) Cipher.init(ENCRYPT_MODE, RSAPublicKey)
I observe that XMLCipher.encryptKey() method a