- Python Digital Forensics Cookbook
- Preston Miller Chapin Bryce
- 115字
- 2021-07-08 10:33:59
Getting started
All libraries used in this script are present in Python’s standard library. For generating hashes of files and other data sources, we implement the hashlib library. This built-in library has support for common algorithms, such as MD5, SHA-1, SHA-256, and more. As of the writing of this book, many tools still leverage the MD5 and SHA-1 algorithms, though the current recommendation is to use SHA-256 at a minimum. Alternatively, one could use multiple hashes of a file to further decrease the odds of a hash collision. While we'll showcase a few of these algorithms, there are other, less commonly used, algorithms available.
To learn more about the hashlib library, visit https://docs.python.org/3/library/hashlib.html.
推薦閱讀
- DB2 V9權威指南
- Azure IoT Development Cookbook
- OpenNI Cookbook
- 老“碼”識途
- 面向對象程序設計(Java版)
- Getting Started with NativeScript
- Python編程從0到1(視頻教學版)
- OpenCV 4計算機視覺項目實戰(zhàn)(原書第2版)
- 寫給程序員的Python教程
- OpenMP核心技術指南
- Learning Splunk Web Framework
- OpenCV Android開發(fā)實戰(zhàn)
- JavaScript程序設計實例教程(第2版)
- HTML5 Boilerplate Web Development
- Real Time Analytics with SAP HANA