How can i find the number of rounds in sha512(-m 1700).
#1
The default number of rounds is 80, but I can't find that in the code. And is the hash value below the hash value of “hashcat”? I would appreciate it if you could let me know.

static const char *ST_PASS        = "hashcat";
static const char *ST_HASH        = "82a9dda829eb7f8ffe9fbe49e45d47d2dad9664fbb7adf72492e3c81ebd3e29134d9bc12212bf83c6840f10e8246b9db54a4859b7ccd0123d86e5872c1e5082f";
Reply
#2
Hashing steps:
https://github.com/hashcat/hashcat/blob/...cl#L65-L83

Expansion:
https://github.com/hashcat/hashcat/blob/...cl#L45-L63

Rounds:
https://github.com/hashcat/hashcat/blob/...l#L87-L100
Reply
#3
1. I'm not sure but it looks like here https://github.com/hashcat/hashcat/blob/...12.cl#L114 it defines 80 in the rounds

2. yes, see also https://hashcat.net/wiki/doku.php?id=example_hashes which hash all the example hashes which are almost always "hashcat" unless specified otherwise
Reply
#4
1) Yes, Hashcat has several bits of code that can generate sha512, that's one of them, which also does 80 rounds. If you wanted to reduce Hashcat to 79 rounds, it won't be amazingly easy but is possible but hasn't been tested officially

2) Correct, almost all of them are just "hashcat"
$ echo -n hashcat | sha512sum
82a9dda829eb7f8ffe9fbe49e45d47d2dad9664fbb7adf72492e3c81ebd3e29134d9bc12212bf83c6840f10e8246b9db54a4859b7ccd0123d86e5872c1e5082f -
Reply
#5
thankyou so much!
Reply