Re: environment fingerprint

Discussion in 'Python' started by Chris Angelico, Jan 30, 2013.

  1. On Wed, Jan 30, 2013 at 10:33 AM, Jabba Laci <> wrote:
    > if md5:
    > md5 = hashlib.md5()
    > md5.update(text)
    > return md5.hexdigest()


    Simpler:
    if md5:
    return hashlib.md5(text).hexdigest()

    ChrisA
     
    Chris Angelico, Jan 30, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Javier Camacho

    Microsoft FingerPrint Reader

    Javier Camacho, Sep 16, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    5,541
    =?Utf-8?B?Sm9obg==?=
    Oct 21, 2005
  2. pvs
    Replies:
    10
    Views:
    1,117
  3. Jabba Laci

    environment fingerprint

    Jabba Laci, Jan 29, 2013, in forum: Python
    Replies:
    0
    Views:
    124
    Jabba Laci
    Jan 29, 2013
  4. Andrew Berg

    Re: environment fingerprint

    Andrew Berg, Jan 29, 2013, in forum: Python
    Replies:
    0
    Views:
    120
    Andrew Berg
    Jan 29, 2013
  5. Jabba Laci

    Re: environment fingerprint

    Jabba Laci, Jan 29, 2013, in forum: Python
    Replies:
    0
    Views:
    98
    Jabba Laci
    Jan 29, 2013
Loading...

Share This Page