1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/rhash.md
코드싸이 fd7d9f925b
common/r*: add Korean translation (#14644)
* common/r*: add Korean translation

* Update rtv.md

* Update pages.ko/common/rtv.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-11-07 10:35:14 +09:00

892 B

rhash

일반적인 메시지 다이제스트를 계산하거나 확인. 더 많은 정보: https://rhash.sourceforge.net/manpage.php.

  • 파일의 기본 CRC32 다이제스트 계산:

rhash {{경로/대상/파일}}

  • 디렉터리를 재귀적으로 처리하여 SHA1을 사용한 SFV 파일 생성:

rhash --sha1 --recursive {{경로/대상/폴더}} > {{경로/대상/출력.sfv}}

  • SFV 파일을 기반으로 파일의 무결성 확인:

rhash --check {{경로/대상/파일.sfv}}

  • 텍스트 메시지의 SHA3 다이제스트 계산:

rhash --sha3-256 --message '{{메시지}}'

  • 파일의 CRC32 다이제스트를 계산하고 BSD 형식을 사용하여 base64로 인코딩된 다이제스트 출력:

rhash --base64 --bsd {{경로/대상/파일}}

  • 사용자 정의 출력 템플릿 사용:

rhash --printf '{{%p\t%s\t%{mtime}\t%m\n}}' {{경로/대상/파일}}