博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ip校验和 tcp校验和_如何校验和
阅读量:2518 次
发布时间:2019-05-11

本文共 1797 字,大约阅读时间需要 5 分钟。

ip校验和 tcp校验和

Many of us see the term checksum and checksum outputs frequently but don't really take the time to run them -- oftentimes we simply trust the file we've downloaded is in working order and from the original source.  This past weekend when I was attempting to recover my Bitcoin Cash, however, I wasn't willing to chance it -- I wanted to ensure the app/file hadn't been compromised in any way.

我们中的许多人经常看到术语校验和和校验和输出,但并没有真正花费时间来运行它们-通常,我们只是简单地相信我们下载的文件处于工作状态且来自原始来源。 但是,在过去的一个周末,当我试图收回我的比特币现金时,我不愿意碰碰运气-我想确保应用程序/文件没有受到任何损害。

For those who don't know what a checksum is, I think this definition from is helpful:

对于那些不知道校验和是什么的人,我认为定义很有帮助:

A checksum is the outcome of running an algorithm, called a cryptographic hash function, on a piece of data, usually a single file. Comparing the checksum that you generate from your version of the file, with the one provided by the source of the file, helps ensure that your copy of the file is genuine and error free.

校验和是对一段数据(通常是单个文件)运行一种称为加密哈希函数的算法的结果。 将您从文件版本生成的校验和与文件源提供的校验和进行比较,有助于确保文件副本是真实的且没有错误。

Armed with the file I wanted, and the verified checksum provided by the author, I ran a checksum on the file in question:

有了我想要的文件以及作者提供的经过验证的校验和,我对有问题的文件运行了校验和:

shasum 1 logo.png# shasum: 1:# e78c5ca49b926a15b3d4e5107f3b17b2cc6fd54b  logo.png

shasum is Mac's command line command for checking checkums.  The first argument represents which sha hash value you want to use (sha-1, sha-256, etc.) . The last argument is the file to check.

shasum是Mac的用于检查校验和的命令行命令。 第一个参数表示要使用的sha哈希值(sha-1,sha-256等)。 最后一个参数是要检查的文件。

When it comes to financial and critical apps and files, it's probably worth your time to run a quick checksum to ensure what you've downloaded is what you really want!

对于财务和重要的应用程序和文件,可能值得花时间运行快速校验和,以确保下载的是您真正想要的!

翻译自:

ip校验和 tcp校验和

转载地址:http://iuvwd.baihongyu.com/

你可能感兴趣的文章
grid - 网格项目跨行或跨列
查看>>
Shell 基本运算符
查看>>
2019年2月
查看>>
Google Noto Sans CJK 字体
查看>>
ES集群性能调优链接汇总
查看>>
STL库的应用
查看>>
spark算子
查看>>
(转)Linux服务器SNMP常用OID
查看>>
点到平面的距离
查看>>
linux下安装FTP
查看>>
第四周编程总结
查看>>
经典机器学习算法系列7-svd
查看>>
mxnet系列 全连接层代码阅读
查看>>
0715
查看>>
USB各种模式 解释
查看>>
数据访问-----ADO.NET 小结和练习
查看>>
Linux lsof详解
查看>>
子组件给父组件传数据
查看>>
unix/linux下的共享内存、信号量、队列信息管理
查看>>
Hilbert先生旅馆的故事
查看>>