









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of different types of cryptosystems, including block and stream ciphers, symmetric and asymmetric cryptosystems. It covers the concepts of encryption, decryption, key distribution, digital signatures, and hash functions. The document also discusses the importance of security services such as integrity, authentication, non-repudiation, and confidentiality.
Typology: Study notes
1 / 16
This page cannot be seen from the preview
Don't miss anything!










n bits m bits k bits
Internal state - IS
M 1 , M 2 , …, Mn m 1 , m 2 , …, mn C 1 , C 2 , …, Cn c 1 , c 2 , …, cn
Every block of ciphertext is a function of only one corresponding block of plaintext Every block of ciphertext is a function of the current block of plaintext and the current internal state of the cipher
P seudorandom K ey G enerator mi plaintext ci ciphertext ki keystream key initialization vector (seed) P seudorandom K ey G enerator mi plaintext ci ciphertext ki keystream key (^) vector (seed)initialization
Public Key (Asymmetric) Cryptosystems
Network Encryption Decryption Classification of cryptosystems Terminology secret-key symmetric symmetric-key classical conventional public key asymmetric One-way function
where P and A are constants, P is a large prime, A is an integer smaller than P Number of bits of P Average number of multiplications necessary to compute f f -^1 1000 1500 1030
Trap-door one-way function
Key Distribution
message ciphertext message ciphertext Bob’s public key Bob’s private key Bob’s public key message ciphertext Bob’s public key
Digital Signature
signature message signature message Alice’s public key Alice’s private key Alice’s public key signature message Alice’s public key
signature message Alice’s public key
Hash functions Basic requirements
Message Hash function Public key cipher
Signature Alice’s private key
Hash function Alice’s public key Non-repudiation Hash value 1 Hash value 2 Hash value Public key cipher yes/no Message Signature
Message Hash function Public key cipher
Signature Alice’s private key
Hash function Alice’s public key Non-repudiation Hash value 1 Hash value 2 Hash value Public key cipher yes/no Message Signature Signature generation function Signature verification function Message Secret key algorithm
MAC Secret key of Alice and Bob
Secret key algorithm Authentication MAC’ MAC yes (^) no Message MAC Secret key of Alice and Bob
MAC - Message Autentication Codes (keyed hash functions) arbitrary length message MAC function MAC m fixed length
Relations among security services INTEGRITY
Message Hash function Public key cipher
Signature Alice’s private key
Hash function Alice’s public key Non-repudiation Hash value 1 Hash value 2 Hash value Public key cipher yes no Message Signature Message Secret key algorithm
MAC Secret key of Alice and Bob
Secret key algorithm Authentication MAC’ MAC yes no Message MAC Secret key of Alice and Bob
Hybrid Systems Features required from today’s ciphers
Features of secret-key ciphers
Permutation C order of wires P Software Hardware ASM sequence of instructions <<, |, & sequence of instructions ROL, OR, AND n n x 1 x 2 x 3 x n - 1 x n
... y 1 y 2 y 3 y n - 1 y n
Basic operations of secret key ciphers - P-box P-box n x n Basic Operations of the Public Key Cryptosystem RSA Encryption Decryption ciphertext (^) = plaintext^ mod public key modulus public key exponent plaintext = ciphertext mod private key modulus private key exponent k - bits k - bits^ k - bits k - bits k - bits k - bits
session key ( random secret-key ) Bob’s public key Hybrid Systems Bob’s private key
Session key encrypted using Bob’s public key Message encrypted using session key
Hybrid Systems - Sender’s Side (2)
session key random Bob’s public key message Secret key cipher Public key cipher
Session key encrypted using Bob’s public key Message encrypted using session key Hybrid Systems - Receiver’s Side (2)
session key random Bob’s private key message Secret key cipher Public key cipher
Session key encrypted using Bob’s public key Message encrypted using session key Evaluating the security of secret-key ciphers
Classification of attacks (4) Chosen ciphertext attack
Encryption module (^) key