From 234bd58643e83aa7d34d752de3e98d6ae84cba3d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 3 Apr 2019 21:24:36 +0200 Subject: 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'. --- src/java/com/jogamp/common/util/SHASum.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/java/com/jogamp/common/util/SHASum.java') 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; *

*

* 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()}. *

*

- * {@link JogampVersion#getImplementationSHA256Sources()} for module gluegen is produced via: + * {@link JogampVersion#getImplementationSHASources()} for module gluegen is produced via: *

  * java -cp build/gluegen-rt.jar com.jogamp.common.util.SHASum --algorithm 256 --exclude ".*\\.log" --exclude "make/lib/toolchain" src jcpp/src make
  * 
@@ -250,7 +249,7 @@ public class SHASum { * This ensures identical SHA sums over same contents within given paths. *

*

- * 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()} *

      * java -cp build/gluegen-rt.jar com.jogamp.common.util.SHASum --algorithm 256 --exclude ".*\\.log" --exclude "make/lib/toolchain" src jcpp/src make
      * 
-- cgit v1.2.3