parameters: (self, plaintext)
return_statement: return self.encrypt(plaintext), self.digest()
docstring: Perform :meth:`encrypt` and :meth:`digest` in one step.
  
          :param plaintext: The data to encrypt, of any size.
          :type plaintext: bytes/bytearray/memoryview
          :return: a tuple with two ``bytes`` objects:
  
              - the ciphertext, of equal length as the plaintext
              - the 16-byte MAC tag
docstring_summary: Perform :meth:`encrypt` and :meth:`digest` in one step.
docstring_tokens: Perform : meth : encrypt and : meth : digest in one step .
function: def encrypt_and_digest(self, plaintext):
          """Perform :meth:`encrypt` and :meth:`digest` in one step.
  
          :param plaintext: The data to encrypt, of any size.
          :type plaintext: bytes/bytearray/memoryview
          :return: a tuple with two ``bytes`` objects:
  
              - the ciphertext, of equal length as the plaintext
              - the 16-byte MAC tag
          """
  
          return self.encrypt(plaintext), self.digest()
function_tokens: def encrypt_and_digest ( self , plaintext ) : return self . encrypt ( plaintext ) , self . digest ( )