Sunday, August 2, 2009

In terms of computer programming, what are HASHES?

I was never a PERL code / programmer, but a test I am going to take refers to HASHES in Data Structure?





How is this best related to a web scripter who is more familiar with javascript and vbscript?

In terms of computer programming, what are HASHES?
A hash is basically a small bit of text used to verify the integrity of a piece of data. It's generated by taking the data you want to verify and running it through some sort of algorythm, which excerpts and replaces bits of data to produce the hash; running the hash back through the algorythm verifies the original data from which it is made.





For example, suppose a lowlife makes a virus and names it winword.exe. He does so in a manner that makes the executable the same size as a normal Word executable file. What's to make you sure the file is a real Word program, and not a virus? A hash -- or, more specifically, a checksum, which is a kind of hash -- that would verify the information is genuine.





Or, consider an e-mail. You want people to have 100 percent confidence you sent the e-mail, and not someone else. Using dual-key cryptography, you could create a hash on your message; anyone with your public key could run that hash through their cryptography program and it would verify, based on your key and the hash in your message, that you created the message.
Reply:Yes. In fact, a digital signature from PGP is a hash. Report It

Reply:A hash is an unordered collection of values, each of which is identified by a unique key. A value can be retrieved by its key, and one can add to or delete from the collection.
Reply:# is a preprocessor directive, means that it is already pocessed when u try to compile ur progm. anything written after this ignored by the compiler
Reply:hash is the perl word for javascript's object.
Reply:Hash values are produced for accessing data for security purposes. Tables of hashes are used for fast look-up of data-records. Sometimes storing data in a sequential order isn't the best way to go about a task. Hashes allow data to be stored by reference to 'keys', or strings associated with those particular data. An examplary use of hashes would be storing a list of characters associated with the name of a television series.





I suggest you to visit-


http://library.thinkquest.org/29345/less...


No comments:

Post a Comment