8000 GitHub - ihumaunkabir/gopyhash: A package for password hashing and comparision from/with text.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ihumaunkabir/gopyhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A package for password hashing and comparision from/with text.

Resources

License

Stars

Watchers

Forks

Languages

0