DSS_DEFAULT_HASH_ALGORITHMS
作者Didier Stevens的某些工具允许用户通过设置环境变量DSS_DEFAULT_HASH_ALGORITHMS自定义哈希算法,默认为MD5。例如,在Windows上设置DSS_DEFAULT_HASH_ALGORITHMS=sha256后,pdf-parser.py等工具将使用SHA256代替MD5计算流哈希值。 2025-6-6 00:0:0 Author: blog.didierstevens.com(查看原文) 阅读量:14 收藏

DSS_DEFAULT_HASH_ALGORITHMS

Filed under: My Software — Didier Stevens @ 0:00

I’ve a feature in some of my tools, that let you choose the hash algorithm.

Many of my tools calculate hashes, and for historical reasons, that is the MD5 hash.

But if you want another hash, you can change this (for some of my tools) by setting environment variable DSS_DEFAULT_HASH_ALGORITHMS.

Like for pdf-parser.py, on Windows, you can set DSS_DEFAULT_HASH_ALGORITHMS=sha256 and then the hashes of the streams will be SHA256 in stead of MD5.

No comments yet.


文章来源: https://blog.didierstevens.com/2025/06/06/dss_default_hash_algorithms/
如有侵权请联系:admin#unsafe.sh