SHA256 Secure Hashing Algorithm(SHA) CLI app
Project description
The SHA-256 Project - PyPI
Python package implementing of the SHA-256 Secure Hashing Algorithm defined in FIPS 180-4 with a command-line interface.
- SHA-256 - An Implementation of Secure Hashing Algorithm 2 (SHA-2) with 256-bit digest.
- This implementation is based on the pseudocode algorithm from Wikipedia and The SHA-256 Project
Usage
1. Hashing a string
python sha256.py -s 'message string'
Screenshot example - String hashing compared with Python's Hashlib sha256 result
2. Hashing a file
python sha256.py -f input-file.txt
Screesnhot example - File hashing
Testing
The Application is tested using Pytest
To run the tests:
pip install -r requirements.txt
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sha256-brandonodiwuor-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 462d41964ffc3c980a0e299a6b1af7a39242a69a709d9487e47fc9dcc49bd774 |
|
MD5 | 2f1487d3df4ca8cfca782747d10f80e6 |
|
BLAKE2b-256 | b3d439ec6def99855f34b84b136a40e74cb97d197f82b63f1716a808e67af66d |
Close
Hashes for sha256_brandonodiwuor-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbbf8479327b9835415c15a74f7e185e87873573c3a2720410cd2b86474b1059 |
|
MD5 | 53b4ce42375ee23b901956f43d076be8 |
|
BLAKE2b-256 | cb3f339cb6ed8a8ba20d40da5cb9eaaa6b216b0a71d12eba7084b79cbc7c5214 |