Skip to main content

Hashing Application

Project description

Project is hosted on [pypi](https://pypi.org/project/hashit/)

Hashit is an hashing program which can be uses to hash and verify muliple files on a system.
I got the idea from an ubuntu iso image which have this hash table, so i got the idea to make
such a program using python.

### Notice:
some hashes as blake2b and blake2s is not supported in python2
and all shake hashes is disabled for now

## Usage

------------------------------------
Command line wise
```bash
(python3 -m) hashit [options] $disableFullPath
```
From python you can do it like this
```py
from hashit import hashlib, file_as_blockiter, hash_bytestr_iter

file = open("somefile", "rb")

# memory efficent generator
hash = hash_bytestr_iter(file_as_blockiter(file, blocksize=65536), hasher=hashlib.md5(), ashexstr=True)

print(hash)

```

## Changelog

------------------------------------------------------------
2.1.2 - Done with detect.py working hash detection

2.1.1 - Some more bugfixed, started working on detect.py

2.1.0 - Updated to support newest version of argc

2.0.1 - Bugfixes

1.2.0 - Full Release

1.1.0 - Added support for python2 and

1.0.2 - Double exits' fixed

1.0.1 - Fixed printing bug

1.0.0 - Major version

0.0.3 - Added documentation and license

0.0.2 - Fixing script bugs

0.0.1 - Initial release, ready for use

Works with python2 and python3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hashit-2.1.2.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file hashit-2.1.2.tar.gz.

File metadata

  • Download URL: hashit-2.1.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hashit-2.1.2.tar.gz
Algorithm Hash digest
SHA256 e4db9304d43cbf341cb6893701dd4a3c7554d6c321c5d5b3d8edd824cbaf8f70
MD5 42c0c2ba10305dba0a3c088118c26ba8
BLAKE2b-256 e1c6f7e3f68822159f3a6c864bd432d47672a84e7711a8ab58cd4c9e4cfad7aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page