Skip to main content

A simple yet hash library implemented in Python, featuring both 256-bit and 512-bit hash functions.

Project description

🛠️ ws-hash

Python License

A simple hash library implemented in Python, featuring both 256-bit and 512-bit hash functions.

[!CAUTION] THIS LIBRARY IS NOT TESTED FOR BEING SECURE, DO NOT STORE SENSITIVE INFORMATION WITH THIS.

Features

What this silly little library is capable of.

  • 256-bit Hashing: Can produce hashes with a bit size of 256.
  • 512-bit Hashing: Can produce hashes with a bit size of 512.

Installation

Installing the silly hash Library.

You can install ws-hash by installing the package from the python-package-index (pypi). To do this, run the install command below.

pip install ws-hash

Usage

Importing the silly Library.

To use the ws-hash functions, you can import them as follows:

import ws_hash

Hashing Example

Here's how to hash a string using both the 256-bit and 512-bit functions:

# Hash & print the string in ws256 and ws512.
print(ws_hash.ws256("Lorem ipsum, dolor sit amet."))
print(ws_hash.ws512("Lorem ipsum, dolor sit amet."))

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

ws_hash-1.0.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

ws_hash-1.0.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file ws_hash-1.0.0.tar.gz.

File metadata

  • Download URL: ws_hash-1.0.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ws_hash-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6f740e78a558c317ffffc1131c5bd3ea869f4cccfbe96e8a673670a957c7f08c
MD5 e3716c5127d53d42d11672eba4c9a3e6
BLAKE2b-256 6cffd9826f32fec2cc229d2c51014c7cfa11d5eddf070d0d5046c6890169285f

See more details on using hashes here.

File details

Details for the file ws_hash-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ws_hash-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ws_hash-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69aae1031a2b591646d276b491776d2151b004d5766500eb5575a6cc05d3fc47
MD5 9bf0dabd4d89d8ffdd8a1053c035a49f
BLAKE2b-256 0cb2f77617486ae567e329ff15652f4964bf1297eec60bb2401937d2c0c49709

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