sschaturvedi2015
1,141 views
6 slides
Mar 10, 2021
Slide 1 of 6
1
2
3
4
5
6
About This Presentation
Symmetric Key Algorithm
Size: 361.36 KB
Language: en
Added: Mar 10, 2021
Slides: 6 pages
Slide Content
Symmetric-Key Algorithm
Prof. Neerj Bhargava
Mrs. Shubha Chaturvedi
Department of Computer Science, School of
Engineering & System Sciences
MDS University Ajmer, Rajasthan
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?