什么叫完整性保护?

首页 蛮犀资讯 什么叫完整性保护?

完整性保护(哈希检查)
哈希值是唯一标识数据的固定长度的数值。哈希值将大量数据表示为小得多的数值,因此它们与数字签名一起使用。您可以比签署更大的值更有效地签署散列值。哈希值对于验证通过不安全通道发送的数据的完整性也很有用。可以将接收到的数据的散列值与发送数据时的散列值进行比较,以确定数据是否被更改。
可以将数据与散列值进行比较以确定其完整性。通常,数据在特定时间被散列,并且散列值以某种方式受到保护。稍后,数据可以再次散列并与受保护的值进行比较。如果散列值匹配,则数据未被更改。如果值不匹配,则数据已损坏。为了使该系统正常工作,受保护的哈希必须加密或对所有不可信方保密。
Integrity protection (Hash Check)
A hash value is a numeric value of a fixed length that uniquely identifies data. Hash values represent large amounts of data as much smaller numeric values, so they are used with digital signatures. You can sign a hash value more efficiently than signing the larger value. Hash values are also useful for verifying the integrity of data sent through insecure channels. The hash value of received data can be compared to the hash value of data as it was sent to determine whether the data was altered.
Data can be compared to a hash value to determine its integrity. Usually, data is hashed at a certain time and the hash value is protected in some way. At a later time, the data can be hashed again and compared to the protected value. If the hash values match, the data has not been altered. If the values do not match, the data has been corrupted. For this system to work, the protected hash must be encrypted or kept secret from all untrusted parties.