public class HashFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static HashAlgorithm |
DEFAULT |
Constructor and Description |
---|
HashFactory() |
Modifier and Type | Method and Description |
---|---|
static HashAlgorithm |
algorithm(java.lang.String password) |
static Hash |
get(HashAlgorithm h) |
static Hash |
getByPassword(java.lang.String password) |
static Hash |
getDefault() |
static boolean |
usesDefaultAlgorithm(java.lang.String password) |
public static HashAlgorithm DEFAULT
public static Hash getDefault()
public static Hash get(HashAlgorithm h)
public static HashAlgorithm algorithm(java.lang.String password)
public static Hash getByPassword(java.lang.String password)
public static boolean usesDefaultAlgorithm(java.lang.String password)
Copyright © 2021. All Rights Reserved.