:py:mod:`abacusai.cryptography`
===============================

.. py:module:: abacusai.cryptography


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


Functions
~~~~~~~~~

.. autoapisummary::

   abacusai.cryptography.verify_response
   abacusai.cryptography.get_public_key



.. 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


