Hi,
so when i am using the SunJCE provider and I call
Cipher.getInstance("DESede");
does anybody know what the default mode (ECB, CBC, OFB, ...) of the
cipher is and what default padding is used?
I dont seem to be able to find any documentation on the defaults used in
the SunJCE provider.
Any pointers will be appreciated.
- Priyank
Michel Gallant - 26 Feb 2004 20:58 GMT
Priyank,
From http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html
"If no mode or padding have been specified, provider-specific default values for the mode and
padding scheme
are used. For example, the SunJCE provider uses ECB as the default mode, and PKCS5Padding as the
default
padding scheme for DES, DES-EDE and Blowfish ciphers. This means that in the case of the SunJCE
provider, .. "
- Michel Gallant
MVP Security
JavaScience Consulting
http://www.jensign.com
> Hi,
> so when i am using the SunJCE provider and I call
[quoted text clipped - 10 lines]
>
> - Priyank