1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-23 11:27:57 +01:00

Add HashAlgorithm.getAlgorithmName()

This commit is contained in:
Paul Schaub 2021-05-15 16:23:35 +02:00
parent b05f6887bd
commit 937ec2aa86
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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;
}
}