Getting the SHA-1 (or MD5) hash of a directory

Category: Python - Miscellaneous

http://akiscode.com/articles/sha-1directoryhash.shtml

By definition a cryptographic hash is, "a deterministic procedure that takes an arbitrary block of data and returns a fixed-size bit string, the (cryptographic) hash value, such that an accidental or intentional change to the data will change the hash value".

Usually these hashes are used on files to "fingerprint" them, but in order to do the same to a directory you have to do something like this: Date: 27 February, 2012


Directory - Getting - Hash - Md5 - Sha 1 - The

Homepage: http://code.activestate.com/recipes/576973-getting-the-sha-1-or-md5-hash-of-a-directory/?in=lang-python

Developer: Stephen Akiki

License: Freeware

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Gruve's FREE Link Directory Manager component allows webmasters to easy add a full featured Link Directory manager to their web site.

developer Developer: Paul Christenbury
license License: Freeware
operating systems Operating System: Windows


It can be used as a tutorial guide for beginners or a reference book for experienced developers.

developer Developer: mark
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


Provider of data recovery software offers file rescue solution to retrieve lost, missed data from damaged storage media.

developer Developer: Data Recovery Reviews
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


eSyndiCat Omega is a free link directory software that can be used for a great variety of sites.

developer Developer: Marie
license License: GNU General Public License (GPL)
operating systems Operating System: windows, linux, FreeBSD


BPDirectory is a directory site script made for US and Canada businesses.

developer Developer: BPowerhouse
license License: GNU General Public License (GPL)
operating systems Operating System: widows


Link bid script is a free bid for position directory software.

developer Developer: Biodun
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


Create a general directory of the best resources accross the web, and allow people to submit their sites.

developer Developer: NetCreated
license License: GNU General Public License (GPL)
operating systems Operating System: Unix, Win


Tested on Linux and Windows-XP, Python 2.

developer Developer: me me
license License: Freeware
operating systems Operating System: Windows


The MethodDispatcher is a subclass of tornado.

developer Developer: Dan McDougall
license License: Freeware
operating systems Operating System: Windows