Posts

Block Cipher- Cryptography

Block Cipher The basic scheme of a block cipher is depicted as follows − A block cipher takes a block of plaintext bits and generates a block of ciphertext bits, generally of same size. The size of block is fixed in the given scheme. The choice of block size does not directly affect to the strength of encryption scheme. The strength of cipher depends up on the key length. Block Size Though any size of block is acceptable, following aspects are borne in mind while selecting a size of a block. Avoid very small block size  − Say a block size is m bits. Then the possible plaintext bits combinations are then 2 m . If the attacker discovers the plain text blocks corresponding to some previously sent ciphertext blocks, then the attacker can launch a type of ‘dictionary attack’ by building up a dictionary of plaintext/ciphertext pairs sent using that encryption key. A larger block size makes attack harder as the dictionary needs to be larger. Do not have very large block siz

Stack Data Structure

MICROPROCESSORS & MICROCONTROLLERS

All Lab Document_CEMK_2k18_3rd yr

JAVA-Create an Inheritance Hierarchy-SalesPerson,Salary,Commision & Earnings Classes

JAVA-Create an interface called Shape3D-Put this class in a package called shapePack and use it in another classes named Parallelepiped, Cube and Sphere to calculate volume and surface area

JAVA-Create a class called Time1224-Put this class and Date class created in a package called timePack and use it in another class named trainSchedule

JAVA-Student class-Creating an array of four Student objects and sort the array according to their marks in descending order

JAVA-Create a 2D array using Java programming