#NEWLINE# @ classmethod #NEWLINE# def recover_secret( cls , shares ) : #NEWLINE# #INDENT# points = [ ] #NEWLINE# for share in shares : #NEWLINE# #INDENT# points . append ( share_string_to_point ( share , shares . share_charset ) ) #NEWLINE# #UNINDENT# secret_int = points_to_secret_int ( points ) #NEWLINE# secret_string = int_to_charset ( secret_int , cls . secret_charset ) #NEWLINE# return secret_string