Prepare the project for javadocs

This commit is contained in:
Gabriele C
2015-11-21 01:27:06 +01:00
parent adcd70b91d
commit 118c79401a
168 changed files with 4375 additions and 422 deletions
@@ -13,6 +13,8 @@ import java.security.NoSuchAlgorithmException;
* <p>
* The comparePassword is called when we need to match password (/login usually)
* </p>
* @author Gabriele
* @version $Revision: 1.0 $
*/
public interface EncryptionMethod {
@@ -21,9 +23,10 @@ public interface EncryptionMethod {
* @param salt
* (can be an other data like playerName;salt , playerName,
* etc... for customs methods)
* @return Hashing password
* @throws NoSuchAlgorithmException
*/
* @param name String
* @return Hashing password * @throws NoSuchAlgorithmException */
String getHash(String password, String salt, String name)
throws NoSuchAlgorithmException;
@@ -31,9 +34,9 @@ public interface EncryptionMethod {
* @param hash
* @param password
* @param playerName
* @return true if password match, false else
* @throws NoSuchAlgorithmException
*/
* @return true if password match, false else * @throws NoSuchAlgorithmException */
boolean comparePassword(String hash, String password, String playerName)
throws NoSuchAlgorithmException;