Package com.exedio.cope.pattern
Class MessageDigestHashAlgorithm
- java.lang.Object
-
- com.exedio.cope.pattern.MessageDigestHashAlgorithm
-
public final class MessageDigestHashAlgorithm extends Object
Uses hash algorithms fromMessageDigest
.- Author:
- Ralf Wiebicke
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HashAlgorithm
create(String encoding, String digest, int saltLength, SecureRandom saltSource, int iterations)
Deprecated.Usecreate(Charset, String, int, SecureRandom, int)
instead.static HashAlgorithm
create(Charset charset, String digest, int saltLength, SecureRandom saltSource, int iterations)
-
-
-
Method Detail
-
create
public static HashAlgorithm create(Charset charset, String digest, int saltLength, SecureRandom saltSource, int iterations)
- Parameters:
digest
- an algorithm name suitable forMessageDigest.getInstance(String)
.
-
create
@Deprecated public static HashAlgorithm create(String encoding, String digest, int saltLength, SecureRandom saltSource, int iterations)
Deprecated.Usecreate(Charset, String, int, SecureRandom, int)
instead.
-
-