Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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