add serialize ciphertext