saltedmd5 is a python package for performing md5 hashing with salt.
Project description
To use Salted MD5:
from saltedmd5 import Salting
# user = Salting(<password>, <grams-of-salt>)
user_1 = Salting('mypassword', <grams-of-salt>)
user_1.seasoning()
Result:
user_1.showinfo()
{
'password': 'mypassword',
'salted_password': '45f6717a673f740c636479a9b7b98b9c',
'salt': '8LG6et9315DjPuupKBpD'
}
# .check_authentication(<to-be-checked-pasword>)
user_1.check_authentication('mypassword')
Passwords matched!!
Installation
saltedmd5 can be installed from PyPI:
pip install saltedmd5
What it is
saltedmd5 is a work based on hashlib. It aims to provide developers with a Python functionality to generate simple salted password hashing which concerns the security of user account systems.
Getting Involved
Everybody is welcome, please feel free to get on board :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
saltedmd5-1.0.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for saltedmd5-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3f6e1c0b67619cb85d92c77bb842b727ec5f750237f4f6a03c2189830c6c00 |
|
MD5 | 085dc043055879422d2dca8dda72ec7d |
|
BLAKE2b-256 | 935e5a31786a2d782740dcf51a015f6ade4506ffa65412755fad39e7e4c8a2fc |