[윈도우] certutil 명령어(해시)

1. 설명

- 인증서 서비스 중 일부 명령어

- 파일 암호화 해시 생성 및 표시 -> 파일 무결성 확인


2. 사용법

- certutil [options] -hashfile infile [hashalgorithm]


3. 사전준비

- 테스트 파일(예 : 1.txt, 내용 : 1234)


4. 방법

4.1 실행(Window 키 + R키) -> cmd 입력 -> 확인 버튼 클릭

4.2 certutil -hashfile 1.txt 입력(해시값 : fccf00907c168fffd34a79979bddfeec1e97892c)

4.3 1.txt 파일 내용 변경(변경 전 : 1234, 변경 후 : 12345)

4.4 certutil -hashfile 1.txt 입력(해시값 : ed073a671e631d0f2417945c0d645754ae1a2c8a)


5. 참고

https://learn.microsoft.com/ko-kr/windows-server/administration/windows-commands/certutil


끝.