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!!
Availabl Methods
.seasoning()
.show_info()
create_json(name_of_file)
check_authentication(new_user_password)
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.
Changes
Please refer to CHANGELOG
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.6.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for saltedmd5-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac074a157ef73b6d69cf018cb4d5738a7523d89eedcdef610e4f17096e60dcd |
|
MD5 | 604cfaef2462afd0a91d876da845d5b2 |
|
BLAKE2b-256 | 2d496fd8a76ce15a71c734f62d4f120200d62a02e0c661a3f1de41da0806f242 |