Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generate Hash For Password with Salt  RSS feed

 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!