Spring security or BCrypt algorithm which one is good for accounts like project?
        Posted  
        
            by 
                Ranjith Kumar Nethaji
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ranjith Kumar Nethaji
        
        
        
        Published on 2014-06-03T03:22:11Z
        Indexed on 
            2014/06/03
            3:24 UTC
        
        
        Read the original article
        Hit count: 247
        
I am using spring security for hashing my password.And is it safe ,because am using spring security for first time.
my code here
<security:http auto-config="true">
<security:intercept-url pattern="/welcome*" access="ROLE_USER" />
<security:form-login login-page="/login" default-target-url="/welcome"
authentication-failure-url="/loginfailed" />
<security:logout logout-success-url="/logout" />
</security:http>
authentication-failure-url="/loginfailed" />
<security:logout logout-success-url="/logout" />
</security:http>
 <authentication-manager>
  <authentication-provider>
<password-encoder hash="sha" />
 <user-service>
<user name="k" password="7c4a8d09ca3762af61e59520943dc26494f8941b" 
authorities="ROLE_USER" />
 </user-service>
</authentication-provider>
</authentication-manager> 
.And I havnt used bcrypt algorithm.what is your feedback for both?any recommendation?
© Stack Overflow or respective owner