def decrypt(self, ciphertext, nonce=None, encoder=encoding.RawEncoder):
        # Decode our ciphertext
        ciphertext = encoder.decode(ciphertext)

        if nonce is None:
            # If we were given the nonce and ciphertext combined, split them.
            nonce = ciphertext[:self.NONCE_SIZE]
            ciphertext = ciphertext[self.NONCE_SIZE:]

        if len(nonce) != self.NONCE_SIZE:
            raise ValueError("The nonce must be exactly %s bytes long" %
                             self.NONCE_SIZE)

        plaintext = nacl.bindings.crypto_box_open_afternm(
            ciphertext,
            nonce,
            self._shared_key,
        )

        return plaintext
Decrypts the ciphertext using the given nonce and returns the
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Installer/windows/PyNaCl-0.3.0-py2.7-win-amd64.egg/nacl/public.py/Box.decrypt