一、mac

1、md5

  openssl md5 /path/to/file

  新的macOS默认支持:md5 filename

2、sha256

  openssl dgst -sha256 /path/to/file

3、sha1

  openssl sha1 /path/to/file

4、别名设置

  不妨在 .bashrc  或者 / .zshrc 里加入一行alias sha256="openssl dgst -sha256"来实现通过sha256 /path/to/file校验 SHA256

二、Window命令如下

certutil -hashfile filename MD5

certutil -hashfile filename SHA1

certutil -hashfile filename SHA256

最新文章

  1. BestCoder Round #89 B题---Fxx and game(单调队列)
  2. 谈I/O模型
  3. Windows 下搭建 Ruby 开发环境
  4. spring 集成 log4j 配置
  5. POJ 1195 二维树状数组
  6. Codeforces Round #159 (Div. 2)
  7. Google Protocol Buffer 的使用和原理
  8. stuts-security.xml
  9. IT运维管理市场
  10. 查看Centos系统信息命令
  11. WEB前端介绍
  12. 转载:solr MoreLikeThis的原理分析
  13. IOS UIButton 自定义的补充学习
  14. 配置JDK和TOMCAT
  15. JavaNIO之Channel
  16. Redis技术分享
  17. opencv探索之路(一):win10 X64+VS2015+opencv3.10安装教程
  18. handlebars.js模版引擎随记
  19. ●UOJ 21 缩进优化
  20. windows下编写shell脚本执行错误

热门文章

  1. PHP 调用 exec 执行中文命令的坑
  2. linux加载字体
  3. 日志分析方法概述 & Web日志挖掘分析的方法
  4. 原生JS发送Ajax请求、JSONP
  5. IdentityServer(二)客户端授权模式
  6. [2019HDU多校第一场][HDU 6580][C. Milk]
  7. 生日礼物 HYSBZ - 1293 【单调队列】【求最短区间的长度,区间需要满足包含所有颜色种类】
  8. Codeforces Round #583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) C题
  9. Dynamic Data linq to SQL Web Application
  10. js中4种遍历语法比较