# CKKS -- Addition and Multiplication

DevFeed: [CKKS -- Addition and Multiplication](<https://devfeed.tech/articles/ckks-addition-and-multiplication-85028.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2026/10/11/ckks-addition-and-multiplication/>)

Published: 2026-10-11T21:31:19Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [public key](<https://devfeed.tech/topics/public-key.md>)

Tags: [ckks](<https://devfeed.tech/tags/ckks.md>), [ckks-tutorial](<https://devfeed.tech/tags/ckks-tutorial.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

This tutorial explains CKKS ciphertext addition and multiplication, including how multiplication expands a ciphertext into three components and increases error and scaling complexity. It demonstrates the operations and decryption in code, while noting that the simplified 64-bit modulus setup temporarily ignores cryptographic security.

## Source excerpt

Table of Contents This is part of a tutorial series on the CKKS homomorphic encryption scheme. In the last article, we introduced symmetric and public-key encryption and decryption routines, and implemented modular polynomial arithmetic (using NTTs as a black box). This article covers the addition and multiplication operations performed on ciphertexts (without relinearization). Again, if you already know about CKKS, we are still avoiding the RNS form of the scheme and using a 64-bit modulus $Q$, which means that we're momentarily ignoring cryptographic security.