You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

here are examples of how to obtain the SHA256 checksum of a file in different operating systems:

Linux/Unix

In Linux/Unix-based systems, you can use the sha256sum command to generate the SHA256 checksum of a file.

To generate the SHA256 checksum of a file in Linux/Unix, open a terminal window and navigate to the directory where the file is located. Then run the following command:

bash


sha256sum filename


Replace filename with the name of the file you want to generate the checksum for.

macOS

On macOS, you can also use the shasum command to generate the SHA256 checksum of a file.

To generate the SHA256 checksum of a file in macOS, open a terminal window and navigate to the directory where the file is located. Then run the following command:

shasum -a 256 filename


Replace filename with the name of the file you want to generate the checksum for.

Windows

In Windows, you can use the CertUtil command to generate the SHA256 checksum of a file.

To generate the SHA256 checksum of a file in Windows, open a Command Prompt window and navigate to the directory where the file is located. Then run the following command:

CertUtil -hashfile filename SHA256


Replace filename with the name of the file you want to generate the checksum for.
  • No labels