visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: Java :: mysql java password algorithm


By: Nono Great Britain  Date: 07/10/2005 10:39:12  English  Points: 20 Status: Answered
Quality : Excellent
I'm searching which password algorithm uses mysql and how to program it in java
By: VGR Date: 07/10/2005 10:41:29 English  Type : Answer
Hello ;-)

If you look at com.mysql.jdbc.Util#newHash() and #newCrypt() in Connector/J 3.0, you're looking at is for MySQL-4.0 and older.

MySQL-4.1.7 uses SHA-1. See MysqlIO.secureAuth411(), which also has the entire algorithm in a comment block ;-)

regards

Do register to be able to answer

EContact
browser fav
page generated in 90.289830 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page