Skip to main content

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

sha256_help

1. Hashing a string

python sha256.py -s 'message string'

Screenshot example - String hashing compared with Python's Hashlib sha256 result

sha256_string_hash

2. Hashing a file

python sha256.py -f input-file.txt

Screesnhot example - File hashing

sha256_file_hash

Testing

The Application is tested using Pytest
To run the tests:

pip install -r requirements.txt  
pytest

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

sha256-brandonodiwuor-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sha256_brandonodiwuor-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file sha256-brandonodiwuor-0.1.1.tar.gz.

File metadata

  • Download URL: sha256-brandonodiwuor-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for sha256-brandonodiwuor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 462d41964ffc3c980a0e299a6b1af7a39242a69a709d9487e47fc9dcc49bd774
MD5 2f1487d3df4ca8cfca782747d10f80e6
BLAKE2b-256 b3d439ec6def99855f34b84b136a40e74cb97d197f82b63f1716a808e67af66d

See more details on using hashes here.

File details

Details for the file sha256_brandonodiwuor-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sha256_brandonodiwuor-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

File hashes

Hashes for sha256_brandonodiwuor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cbbf8479327b9835415c15a74f7e185e87873573c3a2720410cd2b86474b1059
MD5 53b4ce42375ee23b901956f43d076be8
BLAKE2b-256 cb3f339cb6ed8a8ba20d40da5cb9eaaa6b216b0a71d12eba7084b79cbc7c5214

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