Page 1 of 1

How do I create a SHA filecheck-file

Posted: Tue May 04, 2010 6:17 pm
by unreal_champion
Hello,

How do I create a SHA file check file?

I want to create something like a .sfv -file for my archives.
I know that md5 isn't good anymore.

Can anyone help?

Thanks,
unreal_champion

Re: How do I create a SHA filecheck-file

Posted: Wed May 05, 2010 7:05 pm
by Chris
sfv = Simple File Verify format file

It uses crc32 checksums instead of MD5 checksums.

I think your are mixing 2 things.
MD5 and SHA are also used to hash password,
and there have been found some weakness in it.
But for file verification it should be good enough.

You can use the linux program cfv
To install it on ubuntu or debian:

Code: Select all

sudo apt-get install cfv

If you don't want exactly sfv-files.
You can create file check with sha1sum:

Code: Select all

sha1sum testfile.iso > shasum_file.sha
sha1sum --check shasum_file.sha