Class Validation


  • public class Validation
    extends Object
    Author:
    od
    • Constructor Detail

      • Validation

        public Validation()
    • Method Detail

      • hexDigest

        public static String hexDigest​(String algorithm,
                                       File[] files)
        Creates a hex encoded sha-256 hash of all files.
        Parameters:
        algorithm - the algorithm to be used.
        files - the files to include for this hash.
        Returns:
        the hexadecimal digest (length 64byte for sha-256).