473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Hash code

FishVal
2,653 Expert 2GB
Hi everyone.

I need a good idea.

I'm developing database (Access2003, WinXP SP2) for documents storing.
It is expected that documents will be in PDF format. Particulary I'm meaning scietific articles, patents, technical documents etc.

Obviously I should implement a mechanism preventing files duplicating.
A part of it will be generating hash code uniquely identifying file content.

Does anybody can propose any file hashing algorithm?
Jun 9 '07 #1
3 2922
puppydogbuddy
1,923 Expert 1GB
Hi everyone.

I need a good idea.

I'm developing database (Access2003, WinXP SP2) for documents storing.
It is expected that documents will be in PDF format. Particulary I'm meaning scietific articles, patents, technical documents etc.

Obviously I should implement a mechanism preventing files duplicating.
A part of it will be generating hash code uniquely identifying file content.

Does anybody can propose any file hashing algorithm?
I don't know if you can use the algorithm discussed in the link, but the article covers all of the issues relating to a document storage and retrieval algorithm.

http://www.hpl.hp.com/techreports/20...-2005-42R1.pdf

http://www.hpl.hp.com/techreports/2005/HPL-2005-42R1.pdf
Jun 10 '07 #2
FishVal
2,653 Expert 2GB
I don't know if you can use the algorithm discussed in the link, but the article covers all of the issues relating to a document storage and retrieval algorithm.

http://www.hpl.hp.com/techreports/20...-2005-42R1.pdf

http://www.hpl.hp.com/techreports/2005/HPL-2005-42R1.pdf
Thank you very much.
This is really useful stuff.
Jun 10 '07 #3
puppydogbuddy
1,923 Expert 1GB
You're welcome. Interesting application. Glad I could help.
Jun 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Murali | last post by:
I have a requirement where I have to use two unsigned ints as a key in a STL hash map. A couple of ways to do this is 1. create a struct with two unsigned ints and use that as key (write my own...
4
by: Pelo GANDO | last post by:
Hi everybody ! I am a beginner in C++. I am looking for a (simple if it's possible) source code in C++ about hash table... Thank you ! Pelo
3
by: Markus Dehmann | last post by:
I have a class "Data" and I store Data pointers in an STL set. But I have millions of inserts and many more lookups, and my profiler found that they cost a lot of runtime. Therefore, I want to...
2
by: Bryan Olson | last post by:
The current Python standard library provides two cryptographic hash functions: MD5 and SHA-1 . The authors of MD5 originally stated: It is conjectured that it is computationally infeasible to...
21
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code...
13
by: ababeel | last post by:
Hi I am using a calloc in a hash table program on an openvms system. The calloc is used to declare the hash table char **pHashes; pHashes = calloc(hash_size,sizeof(char *)); //hash_size = 101 ...
3
by: keithl | last post by:
Hi (again !) I posted a question yesterday just for info on hashrefs which I have read and it makes sense. Putting this into proactive though has now toally confused me ! I have an XML file...
139
by: ravi | last post by:
Hi can anybody tell me that which ds will be best suited to implement a hash table in C/C++ thanx. in advanced
1
by: pavanponnapalli | last post by:
hi , I have got a code as under : sub dbcall { my %hash; my $i=0; print "<<<<<<<@_>>>>>>> \n"; foreach(@_)
1
by: sixtyfootersdude | last post by:
Good Morning! I am a perl newbie and I think that I am struggling with references. I have an array of references to hashes which I am trying to print. This is what I have: for(my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.