diff --git a/index.htm b/index.htm index 0163eb6..ec87afc 100644 --- a/index.htm +++ b/index.htm @@ -19,10 +19,10 @@
- DirHash Windows 64-Bit Binary
- DirHash Windows ARM64 Binary
- DirHash Windows 32-Bit Binary
- DirHash Source Code Zip
+ DirHash Windows 64-Bit Binary
+ DirHash Windows ARM64 Binary
+ DirHash Windows 32-Bit Binary
+ DirHash Source Code Zip
DirHash On GitHub
IDRIX Official DirHash page
DirHash is a Windows console program that computes the hash of a given directory content or a single file. It also supports creating SUM of files in a way similar to classical shasum program. Recursive Lexicographical order is used for browsing the directory hierarchy so that the computed hash can be seen as unique fingerprint of the target directory. Supported hashing algorithms are MD5, SHA-1, SHA-256, SHA-384, SHA-512, Streebog, Blake2s, Blake2 and Blake3.
Usage
DirHash can be invoked from the command like as follows: DirHash.exe DirectoryOrFilePath [HashAlgo] [-t ResultFileName] [-progress] [-sum] [-sumRelativePath] [-verify FileName] [-threads] [-clip] [-lowercase] [-overwrite] [-quiet] [-nologo] [-nowait] [-skipError] [-hashnames [-stripnames]] [-exclude pattern1] [-exclude patter2] [-nofollow] DirHash.exe DirectoryOrFilePath [HashAlgo] [-t ResultFileName] [-progress] [-sum] [-sumRelativePath] [-includeLastDir] [-verify FileName] [-threads] [-clip] [-lowercase] [-overwrite] [-quiet] [-nologo] [-nowait] [-skipError] [-hashnames [-stripnames]] [-exclude pattern1] [-exclude patter2] [-nofollow] DirHash.exe -benchmark [HashAlgo | All] [-t ResultFileName] [-clip] [-overwrite] [-quiet] [-nologo] [-nowait] Possible values for HashAlgo (not case sensitive): If HashAlgo is not specified, Blake3 is used by default. ResultFileName specifies an optional text file where the result will be appended. For example, setting HashAlgo to sha256,sha512 will use SHA256 and SHA512 for hashing the input file or directory and sha256,sha512,blake2s will use SHA256, SHA512 and Blake2s.
+If -sum is used with multiple hash algorithms, a SUM file will be generated for each hash algorithm and its file name will ResultFileName appended with the hash algorithm name.
+For example, if -sum is used with sha256,sha512, then two SUM files will be generated: ResultFileName.sha256 and ResultFileName.sha512.
+ if -benchmark is specified, program will perform speed benchmark of the selected hash algorithm if -mscrypto specified, program will use Windows native implementation of hash algorithms (This is always enabled on Windows ARM platforms since OpenSSL is too slow on them). if -verify is specified, program will verify the hash of every file processed against its hash value present in the given checksum file. if -includeLastDir (only when -sum or -verify is specified), the last directory name of the input directory is included in the SUM file entries and used in the verification process. This switch implies -sumRelativePath. if -threads is specified (only when -sum or -verify specified), multithreading will be used to accelerate hashing of files. if -clip is specified, the hash result is copied to Windows clipboard. This switch is ignored when -sum is specified. © COPYRIGHT 2021 ALL RIGHTS
+ © COPYRIGHT 2023 ALL RIGHTS
RESERVED Mounir IDRASSI (https://www.idrix.fr)
--verify
is used
- DirHash uses OpenSSL for its cryptographic operations on x86 and x64 platforms and the source comes with pre-built library files of OpenSSL 1.1.1g. On Windows ARM64 platforms (for example Microsoft Surface Pro X), DirHash uses Windows native implementation for hash algorithms since OpenSSL is not optimized for Windows ARM64 platform. + DirHash uses OpenSSL for its cryptographic operations on x86 and x64 platforms and the source comes with pre-built library files of OpenSSL 1.1.1g. DirHash can also use Windows native implementation for hash algorithms (using -mscrypto switch) which can enhance performance on some configuration especially ARM64. DirHash source code comes with a Microsoft Visual Studio 2019 solution file. |