This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all. I have MySQl server. my database will store the username and his password. the application will not store the password as a plain text, instead, the application will compute the digest of the password (using MessageDigest class), so the application will save the password as byte[ ] type. my questions are : 1. what is the type of byte[ ] should be in the database ? 2. to store byte[ ] in the database we use : resultset.updateBytes(...); and to retrieve byte[ ] we use : resultset.getBytes(...); right ?? thanks ranchers.