Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Using collate hash in C

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-01-2010
Member
 
Join Date: Dec 2009
Posts: 50
Using collate hash in C
  

I need to create an application in which i want to store user's login name as well as the password. I came to know about the hash function. Hence i think that this is a good idea if i use the collate::hash for the purpose of storing the string based password? Can you tell me for what purpose collate::hash is used exactly

Reply With Quote
  #2  
Old 29-01-2010
Member
 
Join Date: Apr 2008
Posts: 1,997
Re: Using collate hash in C

The hash functions are made in order to use it with the hash table and i will tell you to avoid the use of the collate hash function since it is not made of cryptographic use. Basically they are used to speed up the table lookup that is for searching he data fast. Some times the hash functions overlaps each other and hence i would not advice you to use the hash function.
Reply With Quote
  #3  
Old 29-01-2010
Member
 
Join Date: Apr 2008
Posts: 1,946
Re: Using collate hash in C

The hash function is used to convert or compress a large size of data in to a small datum it uses a single integer to serve as an index to an array. Note that the values returned by the hash function are known as hash values, hash codes, hash sums, or simply hashes. Lastly it can be used for a faster lookup throughout the data.
Reply With Quote
  #4  
Old 29-01-2010
Member
 
Join Date: May 2008
Posts: 2,286
Re: Using collate hash in C

I have myself used the collate::hash function in my program for the purpose of storing a hash of a password instead of the password. In other words i can say that the collate::hash function can be used for additional security because the data which is stored in the hash table is not stored in the string format but in some hash value.
Reply With Quote
  #5  
Old 29-01-2010
Member
 
Join Date: Nov 2005
Posts: 1,323
Re: Using collate hash in C

It is a very good utility of the c language because if you store a data in the string form if any body hacks your system he will be able to access all your data but if you use the collate::hash function. All the data will be converted to the corresponding hash values. The attacker cannot access the data pretty easily.
Reply With Quote
  #6  
Old 29-01-2010
Member
 
Join Date: May 2008
Posts: 2,376
Re: Using collate hash in C

Mostly the hash functions are used widely in cryptographic hash functions, error correcting codes etc. But they are used mostly for speeding up table lookup. You can use the collate::hash function for converting all your confidential data in to hash values to prevent hacking or unwanted acces.
__________________
The FIFA Manager 2009 PC Game

Last edited by opaper : 29-01-2010 at 07:56 PM.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Using collate hash in C"
Thread Thread Starter Forum Replies Last Post
How to disable the collate option in Micorsoft Excel Wisaal MS Office Support 4 03-02-2012 06:34 PM
Windows 98 SE Hash Visitator Operating Systems 5 17-04-2011 10:26 AM
Hash map in flex TanujC Windows Software 6 11-07-2010 12:21 AM
Twitter hash tag Sacchidananda Off Topic Chat 3 11-07-2009 08:22 AM
How To Hash in vb.6.0 . . . nanakofiboafo Software Development 2 13-03-2009 09:34 PM


All times are GMT +5.5. The time now is 10:46 PM.