Skip to main content

Computing size and SHA256 hash for Pipeline Scan files to scan

Use the following commands to compute the SHA256 hash and the file size of the application files you want to upload and scan.

Compute SHA256 hash

  • Windows: Powershell Get-Filehash
  • macOS: shasum -a 256 {full_path_to_file}
  • Linux: sha256sum {full_path_to_file}

Compute file size

  • Windows: dir /{full_path_to_file}
  • macOS: stat -f %z {full_path_to_file}
  • Linux: stat -c %s {full_path_to_file}