I have seen all of the following notations used to denote the encryption of a message $m$ with the key $k$ to produce the ciphertext $c$:
$c = E(k,m)$
$c \leftarrow E(k,m)$
$c := E(k,m)$
Is there any difference between them?
I have seen all of the following notations used to denote the encryption of a message $m$ with the key $k$ to produce the ciphertext $c$:
$c = E(k,m)$
$c \leftarrow E(k,m)$
$c := E(k,m)$
Is there any difference between them?
C = E(K, m)
is an equation (a mathematical statement that the two expressions have the same value), whileC := E(K, m)
andC <- E(K, m)
are assignment statements (in a programming (pseudo)language with mutable variables). Whether the last two are synonymous or different may depend on context—sometimes the back arrow syntax is used for "special" assignments, like probabilistic ones instead of deterministic. – Luis Casillas Sep 16 '16 at 04:06