Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: Encrypt password using DES encryption

Python: Encrypt password using DES encryption
{filelink=16050}

import crypt
import random
import string
def getsalt(chars = string.letters + string.digits):
    # generate a random 2-character 'salt'
    return random.choice(chars) + random.choice(chars)
print crypt.crypt("mypassword2012", getsalt())

Users who found this page were searching for:

  • python how to encrypt a password in xml
  • python des crypt
  • python password generator using encrpytion
  • python encrypted password generator
  • python encryption examples
  • python des encryption example
  • python encrypt dict
  • DES python
  • python ftp password encrypt
  • des encryption in python

No comments yet.

Leave a Comment