Package org.kawanfw.sql.api.server.util
Class SimpleSha1
java.lang.Object
org.kawanfw.sql.api.server.util.SimpleSha1
public class SimpleSha1 extends Object
Simple SHA-1 implementation.
- Author:
- Nicolas de Pomereu
-
Constructor Summary
Constructors Constructor Description SimpleSha1()
-
Method Summary
-
Constructor Details
-
SimpleSha1
public SimpleSha1()
-
-
Method Details
-
sha1
Returns the SHA-1 digest of input text in hexadecimal string- Parameters:
text
- the text to hashtoLowerCase
- if true, hexadecimal string is returned in lower case- Returns:
- the SHA-1 digest of input text in hexadecimal string
-