summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/SHASum.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-04-03 21:24:36 +0200
committerSven Gothel <[email protected]>2019-04-03 21:24:36 +0200
commit234bd58643e83aa7d34d752de3e98d6ae84cba3d (patch)
tree0dfa4034a4b780eb28a2c20cbebc02b2feea2222 /src/java/com/jogamp/common/util/SHASum.java
parent8954b8f1d4b051908f37773521f072843b66de01 (diff)
Bug 1369: SCC: Hide SHA Algorithm bit size in literals of Specification
Implementation currently uses 256 bit Secure Hash (SHA) algorithm, but this may change in the future. Hence only use 'SHA' in the names, not 'SHA256'.
Diffstat (limited to 'src/java/com/jogamp/common/util/SHASum.java')
-rw-r--r--src/java/com/jogamp/common/util/SHASum.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/java/com/jogamp/common/util/SHASum.java b/src/java/com/jogamp/common/util/SHASum.java
index 6489812..37ac830 100644
--- a/src/java/com/jogamp/common/util/SHASum.java
+++ b/src/java/com/jogamp/common/util/SHASum.java
@@ -42,7 +42,6 @@ import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;
-import com.jogamp.common.GlueGenVersion;
import com.jogamp.common.util.cache.TempFileCache;
import com.jogamp.common.util.cache.TempJarCache;
@@ -55,13 +54,13 @@ import jogamp.common.Debug;
* </p>
* <p>
* This implementation is being utilized at JogAmp build time to produce various
- * SHA256 sums over sources, class files and native libraries to ensure their identity.
- * See {@link JogampVersion#getImplementationSHA256Sources()},
- * {@link JogampVersion#getImplementationSHA256Classes()}
- * and {@link JogampVersion#getImplementationSHA256Natives()}.
+ * SHA sums over sources, class files and native libraries to ensure their identity.
+ * See {@link JogampVersion#getImplementationSHASources()},
+ * {@link JogampVersion#getImplementationSHAClasses()}
+ * and {@link JogampVersion#getImplementationSHANatives()}.
* </p>
* <p>
- * {@link JogampVersion#getImplementationSHA256Sources()} for module gluegen is produced via:
+ * {@link JogampVersion#getImplementationSHASources()} for module gluegen is produced via:
* <pre>
* java -cp build/gluegen-rt.jar com.jogamp.common.util.SHASum --algorithm 256 --exclude ".*\\.log" --exclude "make/lib/toolchain" src jcpp/src make
* </pre>
@@ -250,7 +249,7 @@ public class SHASum {
* This ensures identical SHA sums over same contents within given paths.
* </p>
* <p>
- * Example to calculate the SHA-256 over our source files as performed for {@link JogampVersion#getImplementationSHA256Sources()}
+ * Example to calculate the SHA-256 over our source files as performed for {@link JogampVersion#getImplementationSHASources()}
* <pre>
* java -cp build/gluegen-rt.jar com.jogamp.common.util.SHASum --algorithm 256 --exclude ".*\\.log" --exclude "make/lib/toolchain" src jcpp/src make
* </pre>