mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-23 04:42:06 +01:00
Add HashAlgorithm.getAlgorithmName()
This commit is contained in:
parent
b05f6887bd
commit
937ec2aa86
1 changed files with 9 additions and 0 deletions
|
@ -87,4 +87,13 @@ public enum HashAlgorithm {
|
|||
public int getAlgorithmId() {
|
||||
return algorithmId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the text name of the hash algorithm.
|
||||
*
|
||||
* @return text name
|
||||
*/
|
||||
public String getAlgorithmName() {
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue