- Rename getHash() to computeHash(): get.. suggests it's just retrieving some field but it's really doing a computation, which is quite complex depending on the hash algorithm
17 lines
470 B
Java
17 lines
470 B
Java
package fr.xephi.authme.security.crypts;
|
|
|
|
/**
|
|
* Test for {@link DOUBLEMD5}.
|
|
*/
|
|
public class DOUBLEMD5Test extends AbstractEncryptionMethodTest {
|
|
|
|
public DOUBLEMD5Test() {
|
|
super(new DOUBLEMD5(),
|
|
"696d29e0940a4957748fe3fc9efd22a3", // password
|
|
"c77aa2024d9fb7233a2872452d601aba", // PassWord1
|
|
"fbd5790af706ec19f8a7ef161878758b", // &^%te$t?Pw@_
|
|
"cf3b0b6c6c7a4da95019634fb732aaf0"); // âË_3(íù*
|
|
}
|
|
|
|
}
|