Skip to main content

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

Metadata

Release files for sha256-brandonodiwuor 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sha256-brandonodiwuor 0.1.1
File Size Uploaded Provenance Actions
sha256-brandonodiwuor-0.1.1.tar.gz 4.5 kB Without provenance Details for sha256-brandonodiwuor-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sha256-brandonodiwuor 0.1.1
File Interpreter ABI Platform Actions
sha256_brandonodiwuor-0.1.1-py3-none-any.whl Python 3 none any Details for sha256_brandonodiwuor-0.1.1-py3-none-any.whl

Total release size: 9.9 kB

Release files / sha256-brandonodiwuor-0.1.1.tar.gz

Download URL sha256-brandonodiwuor-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
462d41964ffc3c980a0e299a6b1af7a39242a69a709d9487e47fc9dcc49bd774
BLAKE2b-256 checksum
How to use checksums
b3d439ec6def99855f34b84b136a40e74cb97d197f82b63f1716a808e67af66d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / sha256_brandonodiwuor-0.1.1-py3-none-any.whl

Download URL sha256_brandonodiwuor-0.1.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbbf8479327b9835415c15a74f7e185e87873573c3a2720410cd2b86474b1059
BLAKE2b-256 checksum
How to use checksums
cb3f339cb6ed8a8ba20d40da5cb9eaaa6b216b0a71d12eba7084b79cbc7c5214
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for sha256-brandonodiwuor 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page