def SynthesizeUserId(email):
 user_id_digest = _MD5_FUNC(email.lower()).digest()
 user_id = ('1' + ''.join([('%02d' % ord(x)) for x in user_id_digest])[:20])
 return user_id

def SynthesizeUserId ( email ) : user_id_digest = _MD5_FUNC ( email . lower ( ) ) . digest ( ) user_id = ( '1' + '' . join ( [ ( '%02d' % ord ( x ) ) for x in user_id_digest ] ) [ : 20 ] ) return user_id
return a synthetic user id from an email address .