密码学与散列 [英] Cryptography vs Hashing

查看:50
本文介绍了密码学与散列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题很简单:加密将信息隐藏到只有打算查看信息的人才能实际看到的程度.您可以加密信息然后解密.如果无法将哈希解密,为什么将其视为加密?

My question is simple: encryption hides information to the point where only the people intended to see the information can actually see it. You can encrypt information and then decrypt it. Why is hashing is considered encryption if it cannot be decrypted?

我说哈希被认为是加密,因为您将MD5称为加密哈希函数.

I say hashing is considered encryption because you call MD5 a cryptographic hash function.

推荐答案

密码学是一个广泛的研究领域,涵盖加密和安全哈希.它还包含其他各种主题,包括秘密共享,公共密钥系统和随机数生成.人们可能将其概括为一门处理秘密的科学.

Cryptography is broad field of study which covers both encryption and secure hashing. It also encompasses a variety of other topics, including secret sharing, public-key systems, and random number generation. One might summarize it broadly as the science of working with secrets.

散列不被视为加密形式.用于散列和加密的某些算法之间存在某些关系,但两者不可互换.

Hashing is not considered a form of encryption. There are some relationships between certain algorithms used for hashing and encryption, but the two are not interchangeable.

这篇关于密码学与散列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆