WHAT IS Hashing?

                                              Hashing is the conversion of strings
into a usually short, pre-defined length value or key which represents the original data. It is used to store, index and retrieve data in a database because it is a lot faster to search for an item using shorter hashed key than to search for it using the original data. many encryption algorithms use hashing.




What is Hash-Table?

It is ,basically an array which links with its key specific data value a key. For example, say we want to build a database which stores the profile data of all users of a food delivery app service; in that case, the keys would be the names of the users or their user ID and the values would be their a structure holding their profile information, including things like their last name, gender, age, country, status, etc.


Hash Function

It is a function which converts given data into small integer value. The hash table then uses the integer value as index. In simple terms, it maps a big number or string to a smaller integer which can be used as an index in the hash table. 
Two methods:
  • Hashing by division (mod method)
  • Hashing by multiplication
watch this for more detailed explanation..



Applications Of Hashing:

  • A Data Structure - Hash Table square measure used as informational knowledge an information} structure as a result of it stores data in Associate in Nursing associative manner. in a very hash table, arrays square measure wont to store information, wherever every information worth is mapped to its own distinctive index worth. Accessing becomes extremely quick if we all know the index of the required information. Thus, it becomes a knowledge structure wherever search and insertion operations square measure in no time regardless of the scale of the information. Hash Table uses arrays as a data-storage medium and uses hashing to get an index wherever a part is to be inserted or is to be set from. To learn more, Click here.
  • ENCRYPTION- When WE use any on-line web site which needs a user login, we tend to enter our E-mail and watchword to manifest that the account we tend to try to use belongs to us. once the watchword is entered, a hash of the watchword is computed that is then sent to the server for verification of the watchword. The passwords keep on the server are literally computed hash values of the initial passwords. this is often done to make sure that once the watchword is distributed from shopper to server, thus no middle man will sniff into the watchword sent over network To learn more, Click here.
  • Linking of FILE NAME and PATH- When moving through files on our native system, we have a tendency to observe 2 terribly crucial parts of a file i.e. name and file path. so as to store the correspondence between name and file path the system uses a map (filename, file path) that is enforced employing a hash table. To learn more, Click here.
  • Message Digest- A message digest might be a cryptologic hash operate containing a string of digits created by a unifacial hashing formula. Specific files containing the protected works are represented by Message digest hash numbers. One message digest is allotted to specific data content. it'll reference a modification created deliberately or accidentally, but it prompts the owner to identify the modification equally as a result of the individual(s) making the modification. Message digests unit of measurement recursive numbers. To learn more, Click here.

69 comments:

  1. Explanation is up to the mark and easy to understand for beginners, good job

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Excellent and useful stuff!��

    ReplyDelete
  4. Thanks for giving perfect explanation

    ReplyDelete
  5. Omg this is so so so so good

    ReplyDelete
  6. Excellent very informative

    ReplyDelete
  7. Very very very helpful nd informative ��

    ReplyDelete
  8. You should have published it sooner, humara bhi blog complete ho jata��

    ReplyDelete
  9. Good content and well explained!!

    ReplyDelete
  10. This is so well written and informative!

    ReplyDelete
  11. Very useful and informative

    ReplyDelete
  12. Great blog, informative

    ReplyDelete
  13. Very interesting and informative

    ReplyDelete
  14. Nicely explained in very simple words

    ReplyDelete
  15. Nice one,
    But can you roll?
    I can, I can rick roll

    ReplyDelete
    Replies
    1. I just wanna tell you how I'm feeling
      Gotta make you understand

      Delete
    2. Never gonna give you up
      Never gonna let you down
      Never gonna run around and desert you
      Never gonna make you cry
      Never gonna say goodbye
      Never gonna tell a lie and hurt you

      Delete
  16. Helpful from exam point of view great work

    ReplyDelete
  17. Good one bro

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Nicely explained with examples

    ReplyDelete
  20. Very informative article .💯💯🔥🔥

    ReplyDelete
  21. Nice explanation ��

    ReplyDelete