<s> import string <EOL> import random <EOL> import hashlib <EOL> import pygments <EOL> import datetime <EOL> def to_md5 ( word ) : <EOL> return hashlib . md5 ( word ) . hexdigest ( ) <EOL> def make_token ( username ) : <EOL> key = '<STR_LIT>' . join ( random . sample ( string . letters + string . digits , <NUM_LIT:20> ) ) <EOL> return key <EOL> def get_datetime ( ) : <EOL> return str ( datetime . datetime . now ( ) ) . split ( '<STR_LIT:.>' ) [ <NUM_LIT:0> ] </s>
