certutil -hashfile to another file ....

iqworks Information Quality Works 331 Reputation points
2022-10-05T22:36:56.363+00:00

Hi, this should be so obvious, but i cannot find this command anywhere. I just need a simple example for me to do a -hasfile to a new file :

247912-certutil.png
but it dosnt work? I did the "certutil -?". I saw the -hashfile parms, but couldnt figure out how to use it.

thanks for any advice or suggestions

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Subhash Sharma 676 Reputation points Microsoft Employee Moderator
    2022-10-06T08:56:18.797+00:00

    Hello @iqworks Information Quality Works

    Thank you for reaching out. To generate hash of a file please use the below syntax.

      certutil -hashfile <filepath> <hashingAlgorithm>  
    

    Ex,
    248053-1.png

    If you would like to export hash value to a new file then please the syntax shown in below example.
    248071-2.png

    Additional details about the supported parameters are documented in certutil.

    I hope this answers your query.

    ----------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.