-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Took some time to overhaul the InnoSetup script. Added the Bouncy Castle library and the PathTweaker console app, both of which were accidentally omitted. I also removed all the Send To shortcut icons, since I found out there's no way to address Issue #7 within the installer. (I'll probably need to update the app to give the user the option to add those shortcuts.) I'm removing the md5 and sha1 executables and replacing them with batch files that call the hash console app behind the scenes, then added additional batch files for the other hashes as well. In the main app, I'm restructuring the registry settings a bit and switching the hash and output type settings for an index value to a string. This will future-proof the drop-downs a bit when we add future hashes, as we'll no longer be dependent on the order the hashes are in the drop-down. This means changes to the UpgradeSettings() method, the MainForm constructor, and the MainForm_FormClosing() method; basically anywhere the settings are written to or read from the registry.
- Loading branch information
Showing
18 changed files
with
210 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ WinHasher/obj | |
WinHasherCore/bin | ||
WinHasherCore/obj | ||
WinHasher.v11.suo | ||
InnoSetup/bin |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running GOST3411 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -gost3411 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -gost3411 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running MD5 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -md5 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -md5 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running RIPEMD-128 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -ripemd128 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -ripemd128 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running RIPEMD-160 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -ripemd160 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -ripemd160 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running RIPEMD-256 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -ripemd256 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -ripemd256 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running RIPEMD-320 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -ripemd320 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -ripemd320 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running SHA-1 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -sha1 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -sha1 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running SHA-224 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -sha224 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -sha224 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running SHA-256 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -sha256 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -sha256 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running SHA-384 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -sha384 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -sha384 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running SHA-512 Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -sha512 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -sha512 %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running Tiger Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -tiger %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -tiger %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@rem WinHasher Batch File for Running Whirlpool Hashes | ||
@echo off | ||
if "%OS%" == "Windows_NT" goto WinNT | ||
hash -whirlpool %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
goto endofbat | ||
:WinNT | ||
hash -whirlpool %* | ||
:endofbat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.