albibacsi

password hash

Aug 6th, 2019
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. import random,string,crypt
  2. randomsalt = ''.join(random.sample(string.ascii_letters,8))
  3. print crypt.crypt('MySecretPassword', '$6$%s$' % randomsalt)
Advertisement
Add Comment
Please, Sign In to add comment