def save_load(path):
    ciphertext.save(path)
    save_test = sealapi.Ciphertext(ctx)
    save_test.load(ctx, path)
    decryptor.decrypt(save_test, plaintext)
    decoded = helper_decode(scheme, ctx, plaintext)
    is_close_enough(decoded[:len(testcase)], testcase)
def save_load(path):
    ciphertext.save(path)
    save_test = sealapi.Ciphertext(ctx)
    save_test.load(ctx, path)
    decryptor.decrypt(save_test, plaintext)
    decoded = helper_decode(scheme, ctx, plaintext)
    is_close_enough(decoded[:len(testcase)], testcase)