Constructor and Description |
---|
SHA1Hash() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(java.lang.String plaintext) |
boolean |
matchesAlgorithm(java.lang.String password) |
boolean |
validate(java.lang.String plaintext,
java.lang.String hash) |
public java.lang.String create(java.lang.String plaintext) throws ServerFault
create
in interface Hash
ServerFault
public boolean validate(java.lang.String plaintext, java.lang.String hash) throws ServerFault
validate
in interface Hash
ServerFault
public boolean matchesAlgorithm(java.lang.String password)
matchesAlgorithm
in interface Hash
Copyright © 2021. All Rights Reserved.