abacusai.cryptography
=====================

.. py:module:: abacusai.cryptography


Functions
---------

.. autoapisummary::

   abacusai.cryptography.verify_response
   abacusai.cryptography.get_public_key


Module Contents
---------------

.. py:function:: verify_response(public_key, response)

   Verifies an API response using the signature in the response and a public key

   :raises ValueError: When the signature does not match or an invalid response is supplied


.. py:function:: get_public_key()

   Retrieves the public key of this client

   :returns: The public key contents
   :rtype: str


