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 1
1
# ChangeLog for sha256
2
2
3
3
## Version NEXT (2022-11-??)
4
+ - An error in the program's help text is fixed.
4
5
- The minimum required CMake version to build the program is raised to
5
6
CMake 3.8.
6
7
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.
26
26
### Options + parameters
27
27
28
28
--sha1
29
- Calculate SHA-1 (160bit ) checksums instead of SHA-256.
29
+ Calculate SHA-1 (160 bit ) checksums instead of SHA-256.
30
30
31
31
--sha224
32
- Calculate SHA-224 (224bit ) checksums instead of SHA-256.
32
+ Calculate SHA-224 (224 bit ) checksums instead of SHA-256.
33
33
34
34
--sha256
35
- Calculate SHA-256 (256bit ) checksums. This is the default.
35
+ Calculate SHA-256 (256 bit ) checksums. This is the default.
36
36
37
37
--sha384
38
- Calculate SHA-384 (384bit ) checksums instead of SHA-384 .
38
+ Calculate SHA-384 (384 bit ) checksums instead of SHA-256 .
39
39
40
40
--sha512
41
- Calculate SHA-512 (512bit ) checksums instead of SHA-256.
41
+ Calculate SHA-512 (512 bit ) checksums instead of SHA-256.
42
42
43
43
--help
44
44
Show a help message and list valid program options.
Original file line number Diff line number Diff line change 1
1
/*
2
2
-------------------------------------------------------------------------------
3
3
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
5
5
6
6
This program is free software: you can redistribute it and/or modify
7
7
it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ const int rcInvalidParameter = 1;
44
44
void showGPLNotice ()
45
45
{
46
46
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 "
48
48
<< " \n "
49
49
<< " This program is free software: you can redistribute it and/or\n "
50
50
<< " modify it under the terms of the GNU General Public License as published\n "
@@ -82,7 +82,7 @@ void showHelp()
82
82
<< " --sha224 - use SHA-224 instead of SHA-256 to hash files.\n "
83
83
<< " --sha256 - use SHA-256 to hash files. This option is active by\n "
84
84
<< " 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 "
86
86
<< " --sha512 - use SHA-512 instead of SHA-256 to hash files.\n " ;
87
87
}
88
88
You can’t perform that action at this time.
0 commit comments