Symmetric Key Algorithm

sschaturvedi2015 1,141 views 6 slides Mar 10, 2021
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

Symmetric Key Algorithm


Slide Content

Symmetric-Key Algorithm
Prof. Neerj Bhargava
Mrs. Shubha Chaturvedi
Department of Computer Science, School of
Engineering & System Sciences
MDS University Ajmer, Rajasthan

Symmetric-Key Algorithms
•Symmetric-keyalgorithmsarealgorithmsforcryptography
thatusethesamecryptographkeysforboththeencryption
ofplaintextandthedecryptionofciphertext.
•Thekeysmaybeidentical,ortheremaybeasimple
transformationtogobetweenthetwokeys.
•Thekeys,inpractice,representasharedsecretbetween
twoormorepartiesthatcanbeusedtomaintainaprivate
informationlink.
•Therequirementthatbothpartieshaveaccesstothe
secretkeyisoneofthemaindrawbacksofsymmetric-key
encryption,incomparisontopublic-keyencryption(also
knownasasymmetric-keyencryption).

Types of Symmetric-Key Encryption
Symmetric-key encryption can use eitherstream
ciphersorblock ciphers.
Stream
Cipher
Block
Cipher

Stream ciphers
•Stream ciphers encrypt the digits (typicallybytes),
or letters (in substitution ciphers) of a message
one at a time.
•In stream cipher, one byte is encrypted at a time
while in block cipher ~128 bits are encrypted at a
time.
•Initially, a key(k) will be supplied as input to
pseudorandom bit generator and then it
produces a random 8-bit output which is treated
as keystream.

Block ciphers
•Incryptography a block cipheris adeterministic
algorithm operating on fixed-length groups
ofbits, calledblocks. It uses an unvarying
transformation, that is, it uses asymmetric key.
•Block ciphers take a number of bits and encrypt
them as a single unit, padding the plaintext so
that it is a multiple of the block size.

ASSIGNMENT
Q. Differentiate between Stream and Block
Cipher?
Tags