Hashing
Hashing means generating value or values from a string of text using a mathematical function.
Hashing is one way to enable security during the process of message transmission when the message is intended for a particular recipient only. A formula generates the hash, which helps to protect the security of the transmission against tampering.
When a user sends a secure message, a hash of the intended message is generated and encrypted and is sent along with the message. When the message is received, the receiver decrypts the hash as well as the message. Then, the receiver creates another hash from the message. If the two hashes are identical when compared, then a secure transmission has occurred. This hashing process ensures that an unauthorized end user does not alter the message.
Here is a small example in Python that encrypts "Hello World" in SHA-1 (Secure Hashing Algorithm):
import hashlib
hash_object = hashlib.sha1(b'Hello World')
hex_dig = hash_object.hexdigest()
print(hex_dig)
You will get a long string which is hashed by the SHA-1 algorithm.
Hashing is used to index and retrieve items in a database because it is easier to find the item using the
shortened hashed key than by using the original value.
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging
ReplyDeleteBlockchain Training in Electronic City
This comment has been removed by a blog administrator.
ReplyDeleteWhen juicing soft fruits such as melons, peaches and strawberries it is good to know that the resulting juice will be thicker as opposed to juicing hard fruits such as apples. satta king play bazaar
ReplyDeleteplay bazaar satta king
GLO devices are not available in the UK at the moment but I could find sticks for this heating system here https://www.cigstore.co/product-category/neo-glo-sticks/. Did anyone tried to buy these sticks form this seller?
ReplyDeleteBest raw honey from ecological apiary https://www.rawhoneypot.com/. Free international shipping on all orders.
ReplyDelete