#NEWLINE# def publickey( sk ) : #NEWLINE# #INDENT# h = H ( sk ) #NEWLINE# a = ( ( 2 ** ( b - 2 ) ) + sum ( ( ( ( 2 ** i ) * bit ( a , i ) ) for i in range ( 3 , ( b - 2 ) ) ) ) ) #NEWLINE# A = scalarmult ( B , a ) #NEWLINE# return encodepoint ( A )