← 返回
未分类

Hash Utilities

Generate and verify hashes (MD5, SHA variants, CRC32, HMAC, BLAKE2) for strings and files with streaming support and no external dependencies.
生成并验证哈希值(MD5、SHA 系列、CRC32、HMAC、BLAKE2),支持字符串和文件的流式处理,无需外部依赖。
darbling darbling 来源
未分类 clawhub v1.0.0 1 版本 99670 Key: 无需
★ 0
Stars
📥 302
下载
💾 0
安装
1
版本
#latest

概述

🔐 Hash Toolkit

Author: Lin Hui | GitHub | MIT License | v1.0.0

Compute and verify hashes for strings, files, and data. Supports MD5, SHA1, SHA256, SHA512, CRC32, HMAC, and BLAKE2.

✨ Features

  • String hashing — Hash any text with your choice of algorithm
  • File hashing — Compute hash of any file (streaming for large files)
  • Verify — Compare a hash against expected value (pass/fail)
  • Batch — Hash multiple files at once
  • HMAC — Keyed-hash message authentication codes
  • CRC32 — Quick checksums for data integrity
  • BLAKE2 — Modern, fast, secure hash algorithm

🚀 Usage

Calculate the SHA256 hash of the string "hello world"
Compute the MD5 hash of the file /path/to/file.zip
Verify that the SHA256 hash of download.iso matches abc123def...
Generate HMAC-SHA256 signature for "message" with key "secret"
Calculate CRC32 checksum for data.bin

⚙️ Technical Details

  • Runtime: Python 3.6+
  • Dependencies: Zero (stdlib only: hashlib, hmac, zlib, binascii)
  • Algorithms: MD5, SHA1, SHA224, SHA256, SHA384, SHA512, BLAKE2b, BLAKE2s, CRC32
  • Large files: Streaming with 8MB chunks

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 00:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

China Stock Toolkit

darbling
提供A股大盘指数、涨跌停、北向资金监控及税费计算,支持多源交叉验证与自定义接口扩展。
★ 0 📥 436

Json Formatter Pro

darbling
全能 JSON 工具箱 — 格式化、校验、查询、压缩、提取 JSON 数据。支持内置 JMESPath 查询、JSONPath 语法、语法高亮。适合 API 调试。
★ 1 📥 506

China Work Calendar

darbling
中国法定节假日与工作日计算器。查询某年某月工作天数、某日是否上班、节假日倒计时、调休换休提示。支持2024-2027年全部法定节假日及已知调休日。用户询问中国节假日、工作日、加班、倒计时时使用。
★ 1 📥 436