#NEWLINE# def make_password( raw_password ) : #NEWLINE# #INDENT# salt = get_hexdigest ( text_type ( random . random ( ) ) , text_type ( random . random ( ) ) ) [ : 5 ] #NEWLINE# hsh = get_hexdigest ( salt , raw_password ) #NEWLINE# return ( '%s$%s' % ( salt , hsh ) )