Skip to main content

A package for password hashing and comparision using bcrypt

Project description

pipeline

gopyhash

A package for password hashing and comparision using bcrypt.

Installation

pip install gopyhash

Golang Installation

Documentation here go-hash

Usage

from gopyhash import generate_hash_from_text, compare_hash_and_text

# Generate a hash from a plain text (password)
password = "my_secure_password"
hashed_password = generate_hash_from_text(password)

# Compare and verify a plain text (password) and a generated hash
is_valid = compare_hash_and_text(hashed_password, "my_secure_password/others")
if is_valid:
    print("Password is correct!")
else:
    print("Password is incorrect!")

Features

  • Simple API for hashing passwords using bcrypt
  • Verify passwords against existing hashes

License

MIT License

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

gopyhash-1.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

gopyhash-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file gopyhash-1.0.1.tar.gz.

File metadata

  • Download URL: gopyhash-1.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gopyhash-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bb43ade59f8eb11851ba998b11f175d21fcd827ac49f9d20f1bee4022d5dc74f
MD5 960cdb90510e22b04c168b73106d21f5
BLAKE2b-256 6fb3aae2379b3b724bcbc333aaf5242d0277ec5d135a8920b849cc4669dcd322

See more details on using hashes here.

File details

Details for the file gopyhash-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gopyhash-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gopyhash-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3714975f4839e7c154b836b72583dbebe229d43e3bcf2825099ac53060407ecf
MD5 239f66feea4f9b48aeb05ccb288bc70b
BLAKE2b-256 7625bbf6508066ac8e9e1f4670305bb303d1186d6eea725eb49b2ea11da4ff5c

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