Skip to content

Difference(); #4

Discussion options

You must be logged in to vote

In the data security field, encryption and hashing are commonly compared, but why is this the case. Encryption is a two-way function where data is passed in as plaintext and comes out as ciphertext, which is unreadable. Since encryption is two-way, the data can be decrypted so it is readable again. Hashing, on the other hand, is one-way, meaning the plaintext is scrambled into a unique digest, through the use of salt, that cannot be decrypted. Technically, hashing can be reversed, but the computational power needed to decrypt it makes decryption infeasible.

The way hashing works is with a hashing algorithm. This algorithm is most effective when it collision-resistant. Collision resistance…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Leptron-Technologies
Comment options

Answer selected by Leptron-Technologies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants