Password Hasher 06-22-2014, 09:57 PM
#1
Hello Guys, Today I bringing you my Password Hasher, A rather easy script!
![[Image: b85f4f1b278a71e0ef6542dc144a0640.png]](http://i.gyazo.com/b85f4f1b278a71e0ef6542dc144a0640.png)
was going to make it allow it to verify it but meh.
Updated again
![[Image: b85f4f1b278a71e0ef6542dc144a0640.png]](http://i.gyazo.com/b85f4f1b278a71e0ef6542dc144a0640.png)
Code:
import uuid
import hashlib
def hash_password(password):
# uuid is used to generate a random number
salt = uuid.uuid4().hex
return hashlib.sha256(salt.encode() + password.encode()).hexdigest() + ':' + salt
new_pass = input('Please enter a password: ')
hashed_password = hash_password(new_pass)
print('Hashed password: ' + hashed_password)was going to make it allow it to verify it but meh.
Updated again


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)


![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)
mile: