answersLogoWhite

0

What is a hashing algorithm?

Updated: 8/9/2023
User Avatar

Wiki User

∙ 14y ago

Best Answer

hashing algorithm contain two components - hashing function & collision.

hashing is mechanism which generally used in random file organization to convert the record key value into address.

User Avatar

Wiki User

∙ 13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

∙ 14y ago

A hashing algorithm takes a variable length data message and creates a fixed size message digest.

When a one-way hashing algorithm is used to generate the message digest the input cannot be determined from the output

This answer is:
User Avatar

User Avatar

Wiki User

∙ 14y ago

In dsata structure a hash table or hash map is a data structure that uses ahash function to efficiently map certain identifiers or keys (e.g., person names) to associatedvalues (e.g., their telephone numbers). The hash function is used to transform the key into the index (the hash) of anarray element (the slot or bucket) where the corresponding value is to be sought. Ideally the hash function should map each possible key to a different slot index, but this ideal is rarely achievable in practice (unless the hash keys are fixed; i.e. new entries are never added to the table after creation). Most hash table designs assume that hash collisions - pairs of different keys with the same hash values - are normal occurrences and must be accommodated in some way. In a well-dimensioned hash table, the average cost (number of instructions) for each lookup is independent of the number of elements stored in the table. Many hash table designs also allow arbitrary insertions and deletions of key-value pairs, at constant average (indeed,amortized[1]) cost per operation.[2][3] In many situations, hash tables turn out to be more efficient thansearch trees or any other table lookup structure. For this reason, they are widely used in many kinds of computer software, particularly forassociative arrays, database indexing,caches, and sets.

This answer is:
User Avatar

User Avatar

Wiki User

∙ 12y ago

Hashing technique is the very efficient method in the searching to the exact data item in a very short time.

Hashing is the process in which we place the each and evey data item at the index of the memory location for the purpose of ease of usability.

This answer is:
User Avatar

User Avatar

Networkingmania

Lvl 2
∙ 3y ago

Hashing is an algorithm (hash function) to convert a string of characters into a fixed sized text using mathematical functions. The file to be hashed is known as “input” the algorithm used in known as ”hash function” and output is called “Hash Value”, some people call hash value as message digest. Hash value is the value that dictates what exactly in this file and always produces hexadecimal value.

Let’s put it in this way, let’s assume you have many letters at your home from telecommunication companies. You take all of the letters and put that into an envelope and close it. On that envelope you write “Telecom letter”. Now whenever you need to look for letters from telecommunication companies you will look for an envelope with “Telecom letter” on it.

In this case “Telecom letter” is the hash value of all letters you stored from the Telecom company in that envelope. That makes the envelope different from other envelopes you have in your home.

Learn more on: Networkingmania

This answer is:
User Avatar

User Avatar

Wiki User

∙ 12y ago

md5 hashing is a algorithm.it is also called as message digest algorithm.it is used for authentication purpose when we are sending the message from sender side to receiver side.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a hashing algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What algorithm can't be reversed?

Hashing can't be reversed.


What is Hash file organization in DBMS?

Hashing is the most common form of purely random access to a file or database. It is also used to access columns that do not have an index as an optimisation technique. Hash functions calculate the address of the page in which the record is to be stored based on one or more fields in the record. The records in a hash file appear randomly distributed across the available space. It requires some hashing algorithm and the technique. Hashing Algorithm converts a primary key value into a record address. The most popular form of hashing is division hashing with chained overflow.


Difference between Internal hashing n external hashing?

Internal hashing mainly used for internal file, it is particularly an array of records. External hashing used for file disk


Which is better encryption algorithm among DES Blowfish and MD5?

MD5 isn't a encryption algorithm, it's a hashing algorithm. Encryption will 'hide' the meaning of the encrypted text, while MD5 will 'add up' all the text to come up with a number. This number can be compared to another time this file was 'added up', to provide a simple kind of check to see if the text has been changed or if it is the same.


What is hashing function in data structure?

If you read up on hashing, why hashing is done, what are its uses. Then you will be able to answer your own question. More to the point you will have studied the material that your homework question is intended to make you study. It is educational.

Related questions

What is Homomorphic Hashing?

Homomorphic Hashing is a algorithm technique used for verifying data.


What algorithm can't be reversed?

Hashing can't be reversed.


Which hashing algorithm is used to verify the integrity of data that has been transmitted over a network?

MD5


What you sthe bit length of any generated digest when using the MD5 hashing algorithm?

128 Bits


What is Hash file organization in DBMS?

Hashing is the most common form of purely random access to a file or database. It is also used to access columns that do not have an index as an optimisation technique. Hash functions calculate the address of the page in which the record is to be stored based on one or more fields in the record. The records in a hash file appear randomly distributed across the available space. It requires some hashing algorithm and the technique. Hashing Algorithm converts a primary key value into a record address. The most popular form of hashing is division hashing with chained overflow.


The rules for making a hash algorithm are public on the fips website how come someone with access to lets say my sha1 function cant decipher the resulting hash?

Great question - one of the things about hashing is that it is very difficult or impossible to reverse the hashing process, even if you know the algorithm. This is because just doing the steps backwards will not result in the original value.


What are different types of hashing techniques are there in DBMS?

there are 2 types of hashing techniques 1- Static hashing 2-Dynamic hashing


What is the definition of the word 'hashing'?

Hashing is an algorithm (hash function) to convert a string of characters into a fixed sized text using mathematical functions. The file to be hashed is known as “input” the algorithm used in known as ”hash function” and output is called “Hash Value”, some people call hash value as message digest. Hash value is the value that dictates what exactly in this file and always produces hexadecimal value. more on :networkingmania


What is the meaning of the acronym SHA1?

Secure hashing algorithm refers to a 2 layer encryption device. This a very rare term and would not be commonly know to anyone not in the computer programming field.


What are the difference between static and dynamic hashing in DBMS?

Search operation in static hashing is time consuming, but in dynamic hashing it is not.


Difference between Internal hashing n external hashing?

Internal hashing mainly used for internal file, it is particularly an array of records. External hashing used for file disk


Which is better encryption algorithm among DES Blowfish and MD5?

MD5 isn't a encryption algorithm, it's a hashing algorithm. Encryption will 'hide' the meaning of the encrypted text, while MD5 will 'add up' all the text to come up with a number. This number can be compared to another time this file was 'added up', to provide a simple kind of check to see if the text has been changed or if it is the same.