Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ echo -n baseball | sha1sum
- a2c901c8c6dea98958c219f6f2d038c44dc5d362
- [tylerl ~]$ openssl passwd -1
- Password: baseball
- Verifying - Password: baseball
- $1$oaagVya9$NMvf1IyubxEYvrZTRSLgk0
- $1$oaagVya9$NMvf1IyubxEYvrZTRSLgk0
- 1 oaagVya9 NMvf1IyubxEYvrZTRSLgk0
- $1$9XsNo9.P$kTPuyvrHqsJJuCci3zLwL.
- $1$nLEOCtx6$uSnz6PF8q3YuUhB3rLTC3/
- $1$/jZJXTF3$OqDuk8T/cEIGpeKWfsamf.
- $1$2lC.Cb/U$KR0jkhpeb1sz.UIqvfYOR.
- [tylerl ~]$ openssl passwd -1 -salt oaagVya9
- Password: baseball
- Verifying - Password: baseball
- $1$oaagVya9$NMvf1IyubxEYvrZTRSLgk0
- hash abcd = defg
- store 123defg (for user with 123 salt) and 456defg (for user with 456 salt)
- hash 123abcd = ghij
- hash 456abcd = klmn
- import hashlib
- passwordA = '123456'
- passwordB = '123456'
- hashlib.md5(passwordA).hexdigest()
- 'e10adc3949ba59abbe56e057f20f883e'
- hashlib.md5(passwordB).hexdigest()
- 'e10adc3949ba59abbe56e057f20f883e'
- saltA = 'qwerty'
- salbB = 'asdfgh'
- passA = passwordA + saltA
- passB = passwordB + saltB
- hashlib.md5(passA).hexdigest()
- '086e1b7e1c12ba37cd473670b3a15214'
- hashlib.md5(passB).hexdigest()
- 'dc14768ac9876b3795cbf52c846e6847'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement