Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / February 2004

Tip: Looking for answers? Try searching our database.

Cipher - DES and DESede

Thread view: 
Priyank Patel - 26 Feb 2004 06:34 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.