Windows equivalent of linux cksum command

前端 未结 7 1116
北荒
北荒 2020-12-12 17:51

I am looking for a way to compute crc checksum cross platform.

cksum works on Linux, AIX, HP-UX Itanium, Solaris, is there a equivalent command of linu

相关标签:
7条回答
  • 2020-12-12 18:45

    In Windows (command prompt) you can use CertUtil, here is the syntax:

    CertUtil [Options] -hashfile InFile [HashAlgorithm]
    

    for syntax explanation type in cmd:

    CertUtil -hashfile -?
    

    example:

    CertUtil -hashfile C:\myFile.txt MD5
    

    default is SHA1 it supports: MD2, MD4, MD5, SHA1, SHA256, SHA384, SHA512. Unfortunately no CRC32 as Unix shell does.

    Here is a link if you want to find out more https://technet.microsoft.com/en-us/library/cc732443.aspx#BKMK_menu

    0 讨论(0)
提交回复
热议问题