Docsity

Algorithm analysis Design and Microprocessor - keys- Prof. Rishi Haldar, Study notes of Design and Analysis of Algorithms

Toggle sidebar
bg1
Private-Key Cryptography
Private-Key Cryptography
๏ƒ˜traditional
traditional private/secret/single key
private/secret/single key
cryptography uses
cryptography uses one
one key
key
๏ƒ˜shared by both sender and receiver
shared by both sender and receiver
๏ƒ˜if this key is disclosed communications are
if this key is disclosed communications are
compromised
compromised
๏ƒ˜also is
also is symmetric
symmetric, parties are equal
, parties are equal
๏ƒ˜hence does not protect sender from
hence does not protect sender from
receiver forging a message & claiming is
receiver forging a message & claiming is
sent by sender
sent by sender
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Algorithm analysis Design and Microprocessor - keys- Prof. Rishi Haldar and more Study notes Design and Analysis of Algorithms in PDF only on Docsity!

Private-Key CryptographyPrivate-Key Cryptography

๏ƒ˜

traditionaltraditional private/secret/single keyprivate/secret/single key

cryptography uses cryptography uses oneone keykey

๏ƒ˜

shared by both sender and receivershared by both sender and receiver

๏ƒ˜

if this key is disclosed communications areif this key is disclosed communications are

compromised compromised

๏ƒ˜

also isalso is symmetricsymmetric , parties are equal, parties are equal

๏ƒ˜

hence does not protect sender fromhence does not protect sender from

receiver forging a message & claiming is receiver forging a message & claiming is

sent by sender sent by sender

Public-Key CryptographyPublic-Key Cryptography

๏ƒ˜

probably most significant advance in theprobably most significant advance in the

3000 year history of cryptography 3000 year history of cryptography

๏ƒ˜

usesuses twotwo keys โ€“ a public & a private keykeys โ€“ a public & a private key

๏ƒ˜

asymmetricasymmetric since parties aresince parties are notnot equalequal

๏ƒ˜

uses clever application of numberuses clever application of number

theoretic concepts to function theoretic concepts to function

๏ƒ˜

complementscomplements rather thanrather than replaces privatereplaces private

key crypto key crypto

Public-Key CryptographyPublic-Key Cryptography

๏ƒ˜ public-key/two-key/asymmetricpublic-key/two-key/asymmetric cryptographycryptography involves the use of involves the use of twotwo keys:keys: ๏ฌ aa public-keypublic-key , which may be known by anybody, and, which may be known by anybody, and can be used to can be used to encrypt messagesencrypt messages , and, and verifyverify signatures signatures ๏ฌ aa private-keyprivate-key , known only to the recipient, used to, known only to the recipient, used to decrypt messages decrypt messages , and, and signsign (create)(create) signaturessignatures ๏ƒ˜ (^) isis asymmetricasymmetric becausebecause ๏ฌ those who encrypt messages or verify signaturesthose who encrypt messages or verify signatures cannot cannot decrypt messages or create signaturesdecrypt messages or create signatures

Public-Key CryptographyPublic-Key Cryptography

Public-Key CryptosystemsPublic-Key Cryptosystems

Public-Key ApplicationsPublic-Key Applications

๏ƒ˜

can classify uses into 3 categories:can classify uses into 3 categories:

๏ฌ encryption/decryptionencryption/decryption (provide secrecy)(provide secrecy) ๏ฌ digital signaturesdigital signatures (provide authentication)(provide authentication) ๏ฌ key exchangekey exchange (of session keys)(of session keys) ๏ƒ˜

some algorithms are suitable for all uses,some algorithms are suitable for all uses,

others are specific to one others are specific to one