Class DigestUtils
java.lang.Object
org.springframework.data.redis.core.script.DigestUtils
Utilties for working with
MessageDigest
- Author:
- Jennifer Hickey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
sha1DigestAsHex
(String data) Returns the SHA1 of the provided data
-
Constructor Details
-
DigestUtils
public DigestUtils()
-
-
Method Details
-
sha1DigestAsHex
Returns the SHA1 of the provided data- Parameters:
data
- The data to calculate, such as the contents of a file- Returns:
- The human-readable SHA1
-