An overview to Cryptography
u Cryptography is a method of protecting information and communications through the use of codes so that only those for whom the information is intended can read and process it u A we can convert some data into encrypted format using various hashing algorithms u MD5 u SHA1 u SHA256 u SHA512 u Every such algorithm takes some data and produce a fixed length output called as cipher Example using Python import hashlib data=input("Enter data to encrypt ") a=hashlib.md5( data.encode ()). hexdigest () b=hashlib.sha1( data.encode ()). hexdigest () c=hashlib.sha256( data.encode ()). hexdigest () d=hashlib.sha512( data.encode ()). hexdigest () print( a,len (a)) print( b,len (b)) print( c,len (c)) print( d,len (d)) Output Enter data to encrypt 1234 81dc9bdb52d04dc20036dbd8313ed055 length 32 7110eda4d09e062aa5e4a390b0a572ac0d2c0220 length 40 03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4 length 64 d404559f602eab6f...