#NEWLINE# def test_shared_secret( self ) : #NEWLINE# #INDENT# a = pycoind . wallet . Address . generate ( ) #NEWLINE# b = pycoind . wallet . Address . generate ( ) #NEWLINE# secret_ab = pycoind . util . ecc . shared_secret ( self . public_key , b . private_key ) #NEWLINE# secret_ba = pycoind . util . ecc . shared_secret ( b . public_key , a . private_key ) #NEWLINE# self . assertTrue ( ( secret_ab == secret_ba ) )