If I know that the algorithm used is SHA1 constructed as salt+key
, and I have the result, is it possible to find the salt?
Example:
sha1(saltExamplealturkovic) => 4e6a306ff65e252571f36972949f45e513b79ba7
In this example, I know that the input value is alturkovic
, the result is 4e6a306ff65e252571f36972949f45e513b79ba7
, how it is constructed and that SHA1 is used as the hashing algorithm. I would like to find out what salt was used (with some common sense limits of course, such as length).
I tried using hashcat
but I can't figure out if this can even be done using such a tool...