#NEWLINE# def safe_summary( self , encoded ) : #NEWLINE# #INDENT# ( algorithm , salt , hash ) = encoded . split ( '$' , 2 ) #NEWLINE# assert ( algorithm == self . algorithm ) #NEWLINE# return SortedDict ( [ ( _ ( 'algorithm' ) , algorithm ) , ( _ ( 'salt' ) , mask_hash ( encoded , show = 2 ) ) , ( _ ( 'hash' ) , mask_hash ( hash ) ) ] )