Giter VIP home page Giter VIP logo

Comments (4)

Tmp341 avatar Tmp341 commented on September 26, 2024

Can you show what SFV file contains inside?

from openhashtab.

265785 avatar 265785 commented on September 26, 2024

The SFV file Only contains the file's relative path and file's CRC32 algorithm, It doesn't contain any other hash algorithm except CRC32. Though SFV file is not very safe. but its calculation speed is very fast and we can still use it to verify when one file only provide a SFV file to us for verification. Here is an example SFV file

; File's relative path               files' CRC32 algorithm
; (This line and Previous line are only annotates)

new.txt                                      3bbb5ca3
folder\02.zip                                c1b2af23
folder\20240408_210417.iso                   46175043

You can regard all SFV file as only contain CRC32 algorithm and only calculate the CRC32 algorithm in spite of other hashes, like MD5 File only calculate MD5 algorithm, It can increase the speed and give us the right output, Thank you!

SFV means Simple File Verification.
Simple File Verification (SFV) format Brief introduction are below:
https://www.fastsum.com/support/md5-checksum-utility-faq/simple-file-verification.php
https://fileinfo.com/extension/sfv

from openhashtab.

Tmp341 avatar Tmp341 commented on September 26, 2024

What about decreasing number of spaces before CRC values?

new.txt  3bbb5ca3
folder\02.zip  c1b2af23
folder\20240408_210417.iso  46175043

Or:

3bbb5ca3  new.txt
c1b2af23  folder\02.zip
46175043  folder\20240408_210417.iso

from openhashtab.

265785 avatar 265785 commented on September 26, 2024

The situation are the same like before. Number of spaces has no effect to SFV files, My example is just to get a more complete understanding of the structure of an SFV file. Your examples are all true.

You only need to know that SFV file only contains file's relative path and CRC32 algorithm.
Sometimes SFV file contains some annotates start with semicolon ";", but they are of no use.

from openhashtab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.