Skip to content

nat236919/saltedmd5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!!

Available 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 :)

About

Simple MD5 hash that tastes salty

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages