1. 개요

2. OS별 확인 방법

알고리즘

  • conda.io 에서는 SHA-256이 좀더 secure 하므로 MD5 verification 을 추천하지 않는다고 함

Windows

  • PowerShell V4 or later
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    
    > Get-FileHash .\demoApplication.zip -Algorithm SHA256
    
    Algorithm       Hash                                                                   Path
    ---------       ----                                                                   ----
    SHA256          8DA1D5669D0453C7F2817A5A1491F94C32FB101B5DB20E271F7468704F449ABA       D:\repository\demoApplication.zip
    
    > Get-FileHash .\demoApplication.zip -Algorithm MD5
    
    Algorithm       Hash                                                                   Path
    ---------       ----                                                                   ----
    MD5             02C268530F3028A5ABD39AB3F061DD41                                       D:\repository\demoApplication.zip
    
  • PowerShell V4 or later 아닌경우는 생략
  • 원격에서 받은 Hash값과 파일을 입력하면 비교해서 같은지 판단해주는 .ps1 스크립트도 있다

macOS

  • In iTerm or a terminal window enter
    1
    
    > shasum -a 256 filename 
    

Linux