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-password>) '''
user_1.check_authentication('mypassword')
Passwords matched!!
''' create_json(<name-of-file>) '''
user_1.create_json('user_1')
JSON created!!
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.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for saltedmd5-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d364866d9db55514deb17cea9c919f8186880a3051072227c7d68d6c473995d |
|
MD5 | 832f6023161d42417a90bf94263c6170 |
|
BLAKE2b-256 | 48951fbfdf86130bee24f7819ccb119a05e6e14da0b384972a4ed044504a0530 |