Lably
Skip to content

Ciphertext

Encrypted information

  • 4 min read
  • 4 chapters

Related on Lably

Through Algorithm and Permutation

Conceptual underpinnings

Let m be the plaintext message that Alice wants to secretly transmit to Bob and let Ek be the encryption cipher, where k is a cryptographic key. Alice must first transform the plaintext into ciphertext, c, in order to securely send the message to Bob, as follows:

c=Ek(m).

In a symmetric-key system, Bob knows Alice's encryption key. Once the message is encrypted, Alice can safely transmit it to Bob (assuming no one else knows the key). In order to read Alice's message, Bob must decrypt the ciphertext using Ek−1 which is known as the decryption cipher, Dk:

Dk(c)=Dk(Ek(m))=m.

Alternatively, in a non-symmetric key system, everyone, not just Alice and Bob, knows the encryption key; but the decryption key cannot be inferred from the encryption key. Only Bob knows the decryption key Dk, and decryption proceeds as

Dk(c)=m.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication