Languages :: Java :: mysql java password algorithm |
|||
| By: Nono |
Date: 07/10/2005 10:39:12 |
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 | 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 |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








