Skip Navigation

Find file checksum

When uploading a Package, the SHA256 hash is required for the checksum.
OS
Steps
Windows
CertUtil is a pre-installed Windows utility. This utility can provide the hash checksum for a file.
  1. Open the
    Command Prompt
    . For Windows 10, click the Start menu, type
    cmd
    , then click Command Prompt.
  2. Type CertUtil -hashfile pathtofile hashtype, then press
    Enter
    .
    1. Replace <pathtofile> with the path to the file to check. Example: c:\test\hello_world.py.
    2. Replace <hashtype> with the hash format. Example: SHA256. Valid hash formats include: MD2, MD4, MD5, SHA1, SHA256, SHA384, and SHA512.
    3. Example command:
      CertUtil -hashfile c:\test\hello_world.py SHA256
  3. Copy the SHA256 hash.
MacOS
Figure - Use CertUtil to Find Checksum
  1. Open
    Terminal
    . Search for Terminal in Spotlight or Launchpad, or open using
    Applications > Utilities
    .
  2. Type shasum -a 256 <pathtofile>, then press
    Return
    .
  3. Copy the SHA256 hash.
Linux
Figure - Use CertUtil to Find Checksum
  1. Open
    Terminal
    .
  2. Type sha256sum <pathtofile>, then press
    Enter
    .
  3. Copy the SHA256 hash.