This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generate Hash For Password with Salt

 
Himanshu sGarg
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Mysql, I have generated hash with salt to be used by Dovecot for authentication using ENCRYPT('password', CONCAT('$6$', SUBSTRING(SHA(RAND()), -16)))

Now, I want to know how can I generate the same kind of hash with salt in java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic