Reformatted code with new code style

This commit is contained in:
Tim Visée
2015-11-23 21:46:34 +01:00
parent b2db25d16c
commit 36c50c4507
92 changed files with 2458 additions and 2080 deletions
@@ -24,6 +24,7 @@ public interface EncryptionMethod {
* @param salt (can be an other data like playerName;salt , playerName,
* etc... for customs methods)
* @param name String
*
* @return Hashing password * @throws NoSuchAlgorithmException * @throws NoSuchAlgorithmException
*/
String getHash(String password, String salt, String name)
@@ -33,6 +34,7 @@ public interface EncryptionMethod {
* @param hash
* @param password
* @param playerName
*
* @return true if password match, false else * @throws NoSuchAlgorithmException * @throws NoSuchAlgorithmException
*/
boolean comparePassword(String hash, String password, String playerName)