def verify(self, sig, msg):
        '''
        sig-->bytes
        msg-->str or bytes
        Returns-->boolean
        '''
        return lib.ed25519_VerifySignature(
            sig, self.__verifyingkey, msg, len(msg)) == 1
def verify ( self , sig , msg ) : return lib . ed25519_VerifySignature ( sig , self . __verifyingkey , msg , len ( msg ) ) == 1
sig-->bytes
        msg-->str or bytes
        Returns-->boolean