Computer Science, asked by sweetyjayavarshini12, 3 months ago

What is the difference between encryption and hashingin blockchain?


Answers

Answered by Anonymous
2

 \huge{ \red{ \underline{ \underline{ \pink{ᴀɴsᴡᴇʀ}}}}}

ᴇɴᴄʀʏᴘᴛɪᴏɴ ɪs ᴀ ᴛᴡᴏ-ᴡᴀʏ ғᴜɴᴄᴛɪᴏɴ; ᴡʜᴀᴛ ɪs ᴇɴᴄʀʏᴘᴛᴇᴅ ᴄᴀɴ ʙᴇ ᴅᴇᴄʀʏᴘᴛᴇᴅ ᴡɪᴛʜ ᴛʜᴇ ᴘʀᴏᴘᴇʀ ᴋᴇʏ. ʜᴀsʜɪɴɢ, ʜᴏᴡᴇᴠᴇʀ, ɪs ᴀ ᴏɴᴇ-ᴡᴀʏ ғᴜɴᴄᴛɪᴏɴ ᴛʜᴀᴛ sᴄʀᴀᴍʙʟᴇs ᴘʟᴀɪɴ ᴛᴇxᴛ ᴛᴏ ᴘʀᴏᴅᴜᴄᴇ ᴀ ᴜɴɪǫᴜᴇ ᴍᴇssᴀɢᴇ ᴅɪɢᴇsᴛ. ᴡɪᴛʜ ᴀ ᴘʀᴏᴘᴇʀʟʏ ᴅᴇsɪɢɴᴇᴅ ᴀʟɢᴏʀɪᴛʜᴍ, ᴛʜᴇʀᴇ ɪs ɴᴏ ᴡᴀʏ ᴛᴏ ʀᴇᴠᴇʀsᴇ ᴛʜᴇ ʜᴀsʜɪɴɢ ᴘʀᴏᴄᴇss ᴛᴏ ʀᴇᴠᴇᴀʟ ᴛʜᴇ ᴏʀɪɢɪɴᴀʟ ᴘᴀssᴡᴏʀᴅ.

Answered by ImpressAgreeable4985
0

Answer:

two-way function

Explanation:

Encryption uses a two-way function, meaning that data can be decrypted and converted back to readable text. It can also be shared between two parties with the right decoding key. On the other hand, hashing uses a one-way function that converts data into a unique output, which cannot be reversed.

Similar questions