World Library  
Flag as Inappropriate
Email this Article

Simple file verification

Article Id: WHEBN0000574566
Reproduction Date:

Title: Simple file verification  
Author: World Heritage Encyclopedia
Language: English
Subject: Nuke (warez), File verification, Checksum algorithms, CDisplay, List of algebraic coding theory topics
Collection: Checksum Algorithms, Computer File Formats
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Simple file verification


Simple file verification (SFV) is a file format for storing CRC32 checksums of files to verify the integrity of files. SFV is used to verify that a file has not been corrupted, but it does not otherwise verify the file's authenticity. The .sfv file extension is usually used for SFV files.

Contents

  • Checksum 1
  • See also 2
  • External links 3
    • Windows only 3.1

Checksum

Files can become corrupted for a variety of reasons including faulty storage media, errors in transmission, write errors during copying or moving, and software bugs. SFV verification ensures that a file has not been corrupted by comparing the file's CRC hash value to a previously calculated value. Due to the nature of hash functions, hash collisions may result in false positives, but the likelihood of collisions is usually negligible with random corruption. (The number of possible checksums is limited though large, so that with any checksum scheme many files will have the same checksum. However, the probability of a corrupted file having the same checksum as its original is exceedingly small, unless deliberately constructed to maintain the checksum.)

SFV cannot be used to verify the authenticity of files, as CRC32 is not a collision resistant hash function; even if the hash sum file is not tampered with, it is computationally trivial for an attacker to cause deliberate hash collisions, meaning that a malicious change in the file is not detected by a hash comparison. In cryptography, this attack is called a collision attack. For this reason, the md5sum and sha1sum utilities are often preferred in Unix operating systems, which use the MD5 and SHA-1 cryptographic hash functions respectively.

Even a single-bit error causes both SFV's CRC and md5sum's cryptographic hash to fail, requiring the entire file to be re-fetched. The Parchive and rsync utilities are often preferred for verifying that a file has not been accidentally corrupted in transmission, since they can correct common small errors with a much shorter download.

Despite the weaknesses of the SFV format, it is popular due to the relatively small amount of time taken by SFV utilities to calculate the CRC32 checksums when compared to the time taken to calculate cryptographic hashes such as MD5 or SHA-1.

SFV uses a plain text file containing one line for each file and its checksum in the format FILENAMECHECKSUM. Any line starting with a semicolon ';' is considered to be a comment and is ignored for the purposes of file verification. The delimiter between the filename and checksum is always one or several spaces; tabs are never used. A sample SFV file is:

file_one.zip   c45ad668
file_two.zip   7903b8e6
file_three.zip e99a65fb

See also

External links

  • Online SFV Calculator
  • QuickSFV SFV checksum verifier (Windows Vista or earlier and Linux)
  • wxChecksums- Opensource Windows/Linux application
  • Check SFV - SFV software for UNIX systems
  • checkSum+, Mac OS X, MD5 compatible, free
  • isfv sfv checksum verifier for Mac OS X

Windows only

  • RapidCRC- Freeware application
  • RekSFV - SFV, MD5, SHA1 utility (Multi-Language, Unicode, with batch mode for checking a huge amount of folders)
  • RapidCRC Unicode- RapidCRC with Unicode support (v0.3.4 as of 05/27/2012 supports UTF-8 with or without BOM and UTF-16 LE)
  • Advanced CheckSum Verifier - SFV and MD5 utility
  • AmoK SFV Utility - CRC32 and MD5 Compatible
  • SFV Checker
  • SFVManager
  • SlavaSoft FSUM - Fast File Integrity Checker
  • HashCheck Shell Extension - SFV, MD4, MD5, SHA-1 (Multi-Language)
  • Total Commander - supports creation and verification of SFV files
  • hkSFV - supports creation and verification of SFV files (crashes on massive SFV files check)
  • DySFV - Open Source (Free) application (the best for massive SFV files check)
  • ilSFV - free and open-source SFV, MD5 and SHA-1 file verification utility.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.