File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11# ChangeLog for sha256
22
33## Version NEXT (2022-11-??)
4+ - An error in the program's help text is fixed.
45 - The minimum required CMake version to build the program is raised to
56 CMake 3.8.
67
Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ via command line/ shell. A list of valid options follows below.
2626### Options + parameters
2727
2828 --sha1
29- Calculate SHA-1 (160bit ) checksums instead of SHA-256.
29+ Calculate SHA-1 (160 bit ) checksums instead of SHA-256.
3030
3131 --sha224
32- Calculate SHA-224 (224bit ) checksums instead of SHA-256.
32+ Calculate SHA-224 (224 bit ) checksums instead of SHA-256.
3333
3434 --sha256
35- Calculate SHA-256 (256bit ) checksums. This is the default.
35+ Calculate SHA-256 (256 bit ) checksums. This is the default.
3636
3737 --sha384
38- Calculate SHA-384 (384bit ) checksums instead of SHA-384 .
38+ Calculate SHA-384 (384 bit ) checksums instead of SHA-256 .
3939
4040 --sha512
41- Calculate SHA-512 (512bit ) checksums instead of SHA-256.
41+ Calculate SHA-512 (512 bit ) checksums instead of SHA-256.
4242
4343 --help
4444 Show a help message and list valid program options.
Original file line number Diff line number Diff line change 11/*
22 -------------------------------------------------------------------------------
33 This file is part of the SHA-256 hash calculator.
4- Copyright (C) 2012, 2015, 2016 Dirk Stolle
4+ Copyright (C) 2012, 2015, 2016, 2022 Dirk Stolle
55
66 This program is free software: you can redistribute it and/or modify
77 it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ const int rcInvalidParameter = 1;
4444void showGPLNotice ()
4545{
4646 std::cout << " SHA-256 file hash calculator\n "
47- << " Copyright (C) 2012, 2015 Dirk Stolle\n "
47+ << " Copyright (C) 2012, 2015, 2022 Dirk Stolle\n "
4848 << " \n "
4949 << " This program is free software: you can redistribute it and/or\n "
5050 << " modify it under the terms of the GNU General Public License as published\n "
@@ -82,7 +82,7 @@ void showHelp()
8282 << " --sha224 - use SHA-224 instead of SHA-256 to hash files.\n "
8383 << " --sha256 - use SHA-256 to hash files. This option is active by\n "
8484 << " default.\n "
85- << " --sha384 - use SHA-384 instead of SHA-384 to hash files.\n "
85+ << " --sha384 - use SHA-384 instead of SHA-256 to hash files.\n "
8686 << " --sha512 - use SHA-512 instead of SHA-256 to hash files.\n " ;
8787}
8888
You can’t perform that action at this time.
0 commit comments