Sets padding mode of the cipher

def padding(self, padding=True):
        """
        Sets padding mode of the cipher
        """
        padding_flag = 1 if padding else 0
        libcrypto.EVP_CIPHER_CTX_set_padding(self.ctx, padding_flag)