Class FileUtils
java.lang.Object
io.github.intisy.gradle.online.utils.FileUtils
- Author:
- Finn Birich
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateUniqueString(String input) Generates a unique string by hashing the input string using the SHA-256 algorithm.
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
generateUniqueString
Generates a unique string by hashing the input string using the SHA-256 algorithm.- Parameters:
input- The input string to be hashed.- Returns:
- A unique string representation of the input string, encoded in Base64 URL format without padding.
- Throws:
RuntimeException- if the SHA-256 algorithm is not found.
-