hashing and signature
hashing and signature
Hashing is a one-way cryptographic function that converts input data (of any size) into a fixed-
size string of characters (hash value or digest). The primary purpose of hashing is to ensure data
integrity.
Fixed-Length Output: Regardless of input size, the hash has a fixed length (e.g., SHA-256
produces 256-bit hashes).
Collision Resistance: It should be extremely difficult to find two different inputs that
produce the same hash.
Algorith
Output Size Security Level Common Use Cases
m
Broken (collision-
MD5 128-bit Legacy systems (not recommended)
prone)
Applications of Hashing:
1. Sender’s Side:
o The hash is encrypted with the sender’s private key (this is the digital signature).
2. Receiver’s Side:
o The receiver decrypts the signature using the sender’s public key to retrieve the
original hash.
Algorith
Based On Security Common Use Cases
m
Conclusion
Would you like a deeper dive into a specific hashing algorithm (like SHA-3) or digital signature
implementation (like ECDSA in Bitcoin)?
New chat