Skip to content

Commit 865751e

Browse files
2023-09-28.1730-hashplain
fixed typo
1 parent b8f1878 commit 865751e

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

hashgen.go

+19-17
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,23 @@ import (
3030
"unicode/utf16"
3131
)
3232

33-
// version history
34-
// v2022-12-15.2030; initial release
35-
// v2022-12-16.1800; fixed ntlm hash function, tweaked -w flag to be less restrictive, clean up code
36-
// v2022-12-17.2100; fixed typo in wordlist tag, added '-m plaintext' output mode (prints -w wordlist file to stdout)
37-
// v2022-12-20.1200; cleaned up bcrypt code
38-
// v2022-12-20.1430-goroutine; complete rewrite using goroutines & read/write buffers
39-
// v2022-12-21.1400-goroutine; added multiple new algo's including hashcat mode equivalents
40-
// v2022-12-23.1200-goroutine; added argon2id (very slow), added sync / wait group for future use, change h/s readout from millions to thousands,
41-
// v2022-12-24.1800-optimize; optimized all hashing functions, tweaked buffer size
42-
// v2023-03-15.0900-optimize; added "stdout", fixed "lines/sec" to show "M lines/sec", tweaked output buffer for stdout, tweaked sha2xxx flags to allow "shaxxx", ex: "sha512"
43-
// v2023-03-28.1155-optimize; added "stdin"
44-
// v2023-05-13.0000-optimize; optimized code all hashing functions for better performance
45-
// v2023-08-15.1900-hashplain; added: -hashplain flag for hash:plain output, support for $HEX[] wordlist, -cost flag for bcrypt, tweaked: write buffers & custom buffers for argon & bcrypt, tweaked logging outputs
46-
// v2023-08-16.1200-hashplain; added error correction to 'fix' improperly formatted $HEX[] lines
47-
// v2023-09-28.1730-hashplain; modify -hashplain flag to be encoding-agnostic
33+
/*
34+
version history
35+
v2022-12-15.2030; initial release
36+
v2022-12-16.1800; fixed ntlm hash function, tweaked -w flag to be less restrictive, clean up code
37+
v2022-12-17.2100; fixed typo in wordlist tag, added '-m plaintext' output mode (prints -w wordlist file to stdout)
38+
v2022-12-20.1200; cleaned up bcrypt code
39+
v2022-12-20.1430-goroutine; complete rewrite using goroutines & read/write buffers
40+
v2022-12-21.1400-goroutine; added multiple new algo's including hashcat mode equivalents
41+
v2022-12-23.1200-goroutine; added argon2id (very slow), added sync / wait group for future use, change h/s readout from millions to thousands,
42+
v2022-12-24.1800-optimize; optimized all hashing functions, tweaked buffer size
43+
v2023-03-15.0900-optimize; added "stdout", fixed "lines/sec" to show "M lines/sec", tweaked output buffer for stdout, tweaked sha2xxx flags to allow "shaxxx", ex: "sha512"
44+
v2023-03-28.1155-optimize; added "stdin"
45+
v2023-05-13.0000-optimize; optimized code all hashing functions for better performance
46+
v2023-08-15.1900-hashplain; added: -hashplain flag for hash:plain output, support for $HEX[] wordlist, -cost flag for bcrypt, tweaked: write buffers & custom buffers for argon & bcrypt, tweaked logging outputs
47+
v2023-08-16.1200-hashplain; added error correction to 'fix' improperly formatted $HEX[] lines
48+
v2023-09-28.1730-hashplain; modify -hashplain flag to be encoding-agnostic
49+
*/
4850

4951
func versionFunc() {
5052
fmt.Fprintln(os.Stderr, "Cyclone hash generator v2023-09-28.1730-hashplain")
@@ -85,8 +87,8 @@ func helpFunc() {
8587
"sha2-512-256\n" +
8688
"sha3-224 \t 17300\n" +
8789
"sha3-256 \t 17400\n" +
88-
"sha3-384 \t 17400\n" +
89-
"sha3-512 \t 17400\n"
90+
"sha3-384 \t 17500\n" +
91+
"sha3-512 \t 17600\n"
9092
fmt.Fprintln(os.Stderr, str)
9193
os.Exit(0)
9294
}

0 commit comments

Comments
 (0)