Posted on 2006-05-14
Last Modified: 2012-06-21
what is the difference between MD5 and SHA1 hashing algorithms in terms of pros and cons?
which algorithm is preferable to use in IBM websphere appliaction server 6.0. on solaris platform.
Question by:RadhaRM

    Author Comment

    LVL 86

    Accepted Solution

    As a rough rule of thumb, SHA1 is somewhat more secure, but slower
    LVL 14

    Assisted Solution

    LVL 30

    Assisted Solution

    Quite a common question - this has been asked on EE before:

    The main difference is that the encryption key-size in MD5 is 128-bits but in SHA-1, it is 160-bits, which is why SHA-1 is harder to break, and slower.

    Some discussion on it here as well: (M$ site but explains cryptography and how to select)

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now