simply_block/simply_sign.py
def generate_signature(self, data):
        """
        Generate Signature from the Request.
        Files are not used for generating Signatures
        :param data: Request Data
        :return: Signed Data
        """

        self.data = data
        print(str(data))
        self.signed_data = hmac.new(
            self.private_key.encode('utf-8'), str(data).encode('utf-8'), digestmod=hashlib.sha384
        ).hexdigest()
        return self.signed_data

        Generate Signature from the Request.
        Files are not used for generating Signatures
        :param data: Request Data
        :return: Signed Data
        
Generate Signature from the Request.
Files are not used for generating Signatures
Generate Signature from the Request . Files are not used for generating Signatures
def generate_signature(self, data):
        self.data = data
        print(str(data))
        self.signed_data = hmac.new(
            self.private_key.encode('utf-8'), str(data).encode('utf-8'), digestmod=hashlib.sha384
        ).hexdigest()
        return self.signed_data
def generate_signature ( self , data ) : self . data = data print ( str ( data ) ) self . signed_data = hmac . new ( self . private_key . encode ( 'utf-8' ) , str ( data ) . encode ( 'utf-8' ) , digestmod = hashlib . sha384 ) . hexdigest ( ) return self . signed_data
Generate Signature from the Request.
Generate Signature from the Request .
"""
        Generate Signature from the Request.
        Files are not used for generating Signatures
        :param data: Request Data
        :return: Signed Data
        """
None
self
data
None