Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hash 如何证明站点未被更改_Hash_Cryptography_Proof - Fatal编程技术网

Hash 如何证明站点未被更改

Hash 如何证明站点未被更改,hash,cryptography,proof,Hash,Cryptography,Proof,我有一个简单的网站。这是一个html页面,只有纯文本条目。HTML是这样的 <div class='box'> April 15, 2021 Today, I got a cat. </div> <div class='box'> April 16, 2021 Today, I named the cat toby and fed him fish. </div> 2021年4月15日 今天

我有一个简单的网站。这是一个html页面,只有纯文本条目。HTML是这样的

<div class='box'>

      April 15, 2021
      Today, I got a cat.

</div>

<div class='box'>

     April 16, 2021
     Today, I named the cat toby and fed him fish.

</div>

2021年4月15日
今天,我养了一只猫。
2021年4月16日
今天,我给猫取名叫托比,给它喂鱼。

有没有办法通过某种类型的散列来证明条目没有被更改?想证明我从未回去更改过一个条目吗?

你是说对访客进行诚信检查吗?你可以做一些类似HTTP Integrity header@sinkmanu no的事情,我的意思是证明内容自上次日期以来没有改变。可能是区块链之类的东西?通过完整性检查,您可以证明文件未被删除changed@sinkmanu我想你在看传输中数据的有效性。我想和昨天相比,核实一份未经修改的文件。就像git是如何跟踪代码的,但这只会跟踪日志条目。不。完整性是证明文件未被修改的方式。例如,您昨天创建了该文件的哈希,如果今天哈希已更改,则该文件已被修改