SlideShare une entreprise Scribd logo
1  sur  19
Cyber Security
Cryptography
FPPT.com
Crptography basics
• Cryptography is the science of secret, or hidden
writing
• It has two main Components:
1. Encryption
– Practice of hiding messages so that they can not be read by anyone
other than the intended recipient
2. Authentication & Integrity
– Ensuring that users of data/resources are the persons they claim to
be and that a message has not been surreptitiously altered
Encryption
Plain text and Cipher text
Plain text
Plaintext is what encryption
algorithms, or ciphers, transform
an encrypted message into. It is
any readable data — including
binary files — in a form that can
be seen or utilized without the
need for a decryption key or
decryption device.
Cipher text
Ciphertext is encrypted text
transformed from plaintext using
an encryption algorithm.
Ciphertext can't be read until it
has been converted into plaintext
(decrypted) with a key. The
decryption cipher is an algorithm
that transforms the ciphertext
back into plaintext.
Symmetric algorithms
• Algorithms in which the key for encryption and
decryption are the same are Symmetric
– Example: Caesar Cipher
• Types:
1. Block Ciphers
– Encrypt data one block at a time (typically 64 bits, or 128
bits)
– Used for a single message
2. Stream Ciphers
– Encrypt data one bit or one byte at a time
– Used if data is a constant stream of information
Asymmetric algorithm (weakness)
• Efficiency is lower than Symmetric
Algorithms
– A 1024-bit asymmetric key is equivalent to
128-bit symmetric key
• Potential for man-in-the middle attack
• It is problematic to get the key pair
generated for the encryption
Man-in-the-middle Attack
• If an attacker puts himself between a
client and a webpage, a Man-in-the-
Middle (MITM) attack occurs. This
form of assault comes in many
different ways. For example, In order
to intercept financial login
credentials, a fraudulent banking
website can be used.
Authentication
• Authentication is the process of validating the
identity of a user or the integrity of a piece of data.
• There are three technologies that provide
authentication
– Message Digests / Message Authentication Codes
– Digital Signatures
– Public Key Infrastructure
• There are two types of user authentication:
– Identity presented by a remote or application
participating in a session
– Sender’s identity is presented along with a message.
Session-Key Encryption
• Used to improve efficiency
– Symmetric key is used for encrypting data
– Asymmetric key is used for encrypting the
symmetric key
Authentication
Basics
• Authentication is the process of validating the
identity of a user or the integrity of a piece of data.
• There are three technologies that provide
authentication
– Message Digests / Message Authentication Codes
– Digital Signatures
– Public Key Infrastructure
• There are two types of user authentication:
– Identity presented by a remote or application
participating in a session
– Sender’s identity is presented along with a message.
Message Authentication Codes
Basics
• A message digest created with a key
• Creates security by requiring a secret key
to be possesses by both parties in order
to retrieve the message
Authentication
Message Digests
• A message digest is a fingerprint for a document
• Purpose of the message digest is to provide proof that
data has not altered
• Process of generating a message digest from data is called
hashing
• Hash functions are one way functions with following
properties
– Infeasible to reverse the function
– Infeasible to construct two messages which hash to same
digest
• Commonly used hash algorithms are
– MD5 – 128 bit hashing algorithm by Ron Rivest of RSA
– SHA & SHA-1 – 162 bit hashing algorithm developed by
NIST
Password Authentication
Basics
• Password is secret character string only known to user and
server
• Message Digests commonly used for password
authentication
• Stored hash of the password is a lesser risk
– Hacker can not reverse the hash except by brute force attack
• Problems with password based authentication
– Attacker learns password by social engineering
– Attacker cracks password by brute-force and/or guesswork
– Eavesdrops password if it is communicated unprotected over
the network
– Replays an encrypted password back to the authentication
server
Authentication Protocols
Basics
• Set of rules that governs the communication of data related to authentication
between the server and the user
• Techniques used to build a protocol are
– Transformed password
• Password transformed using one way function before transmission
• Prevents eavesdropping but not replay
– Challenge-response
• Server sends a random value (challenge) to the client along with the authentication
request. This must be included in the response
• Protects against replay
– Time Stamp
• The authentication from the client to server must have time-stamp embedded
• Server checks if the time is reasonable
• Protects against replay
• Depends on synchronization of clocks on computers
– One-time password
• New password obtained by passing user-password through one-way function n times
which keeps incrementing
• Protects against replay as well as eavesdropping
Authentication Protocols
Kerberos
• Kerberos is an authentication service that
uses symmetric key encryption and a key
distribution center.
• Kerberos Authentication server contains
symmetric keys of all users and also
contains information on which user has
access privilege to which services on the
network
Authentication
Personal Tokens
• Personal Tokens are hardware devices that generate unique strings
that are usually used in conjunction with passwords for
authentication
• Different types of tokens exist
– Storage Token: A secret value that is stored on a token and is available after
the token has been unlocked using a PIN
– Synchronous one-time password generator: Generate a new password
periodically (e.g. each minute) based on time and a secret code stored in the
token
– Challenge-response: Token computes a number based on a challenge value
sent by the server
– Digital Signature Token: Contains the digital signature private key and
computes a computes a digital signature on a supplied data value
• A variety of different physical forms of tokens exist
– e.g. hand-held devices, Smart Cards, PCMCIA cards, USB tokens
Authentication
Biometrics
• Uses certain biological characteristics for authentication
– Biometric reader measures physiological indicia and compares
them to specified values
– It is not capable of securing information over the network
• Different techniques exist
– Fingerprint Recognition
– Voice Recognition
– Handwriting Recognition
– Face Recognition
– Retinal Scan
– Hand Geometry Recognition
Plain Text Cipher
(DES)
Session Key
Cipher Text
Encrypted
Key
Cipher
(RSA)
Send to Recipient
Authentication
Iris Recognition
The scanning process takes advantage of the
natural patterns in people's irises, digitizing them
for identification purposes
Facts
Probability of two irises producing exactly the
same code: 1 in 10 to the 78th power
Independent variables (degrees of freedom)
extracted: 266
IrisCode record size: 512 bytes
Operating systems compatibility: DOS and
Windows (NT/95)
Average identification speed (database of 100,000
IrisCode records): one to two seconds

Contenu connexe

Similaire à cryptographydiksha.pptx

CISSP Week 21
CISSP Week 21CISSP Week 21
CISSP Week 21
jemtallon
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
David Hoen
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
Young Alista
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
James Wong
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
Fraboni Ec
 

Similaire à cryptographydiksha.pptx (20)

Entrepreneurship & Commerce in IT - 11 - Security & Encryption
Entrepreneurship & Commerce in IT - 11 - Security & EncryptionEntrepreneurship & Commerce in IT - 11 - Security & Encryption
Entrepreneurship & Commerce in IT - 11 - Security & Encryption
 
Unit08
Unit08Unit08
Unit08
 
Introduction to Web Application Security Principles
Introduction to Web Application Security Principles Introduction to Web Application Security Principles
Introduction to Web Application Security Principles
 
Secure electronic transaction
Secure electronic transactionSecure electronic transaction
Secure electronic transaction
 
CyberSecurity101.pdf
CyberSecurity101.pdfCyberSecurity101.pdf
CyberSecurity101.pdf
 
network security.pdf
network security.pdfnetwork security.pdf
network security.pdf
 
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
CS6701 CRYPTOGRAPHY AND NETWORK SECURITYCS6701 CRYPTOGRAPHY AND NETWORK SECURITY
CS6701 CRYPTOGRAPHY AND NETWORK SECURITY
 
CNS new ppt unit 1.pptx
CNS new ppt unit 1.pptxCNS new ppt unit 1.pptx
CNS new ppt unit 1.pptx
 
Web Application Security Testing
Web Application Security TestingWeb Application Security Testing
Web Application Security Testing
 
How to write secure code
How to write secure codeHow to write secure code
How to write secure code
 
Digital signature
Digital  signatureDigital  signature
Digital signature
 
20-security.ppt
20-security.ppt20-security.ppt
20-security.ppt
 
CISSP Week 21
CISSP Week 21CISSP Week 21
CISSP Week 21
 
Cryptography
CryptographyCryptography
Cryptography
 
Unit v
Unit vUnit v
Unit v
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
 
Crypto passport authentication
Crypto passport authenticationCrypto passport authentication
Crypto passport authentication
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

cryptographydiksha.pptx

  • 2. Crptography basics • Cryptography is the science of secret, or hidden writing • It has two main Components: 1. Encryption – Practice of hiding messages so that they can not be read by anyone other than the intended recipient 2. Authentication & Integrity – Ensuring that users of data/resources are the persons they claim to be and that a message has not been surreptitiously altered
  • 4. Plain text and Cipher text Plain text Plaintext is what encryption algorithms, or ciphers, transform an encrypted message into. It is any readable data — including binary files — in a form that can be seen or utilized without the need for a decryption key or decryption device. Cipher text Ciphertext is encrypted text transformed from plaintext using an encryption algorithm. Ciphertext can't be read until it has been converted into plaintext (decrypted) with a key. The decryption cipher is an algorithm that transforms the ciphertext back into plaintext.
  • 5. Symmetric algorithms • Algorithms in which the key for encryption and decryption are the same are Symmetric – Example: Caesar Cipher • Types: 1. Block Ciphers – Encrypt data one block at a time (typically 64 bits, or 128 bits) – Used for a single message 2. Stream Ciphers – Encrypt data one bit or one byte at a time – Used if data is a constant stream of information
  • 6. Asymmetric algorithm (weakness) • Efficiency is lower than Symmetric Algorithms – A 1024-bit asymmetric key is equivalent to 128-bit symmetric key • Potential for man-in-the middle attack • It is problematic to get the key pair generated for the encryption
  • 8. • If an attacker puts himself between a client and a webpage, a Man-in-the- Middle (MITM) attack occurs. This form of assault comes in many different ways. For example, In order to intercept financial login credentials, a fraudulent banking website can be used.
  • 9. Authentication • Authentication is the process of validating the identity of a user or the integrity of a piece of data. • There are three technologies that provide authentication – Message Digests / Message Authentication Codes – Digital Signatures – Public Key Infrastructure • There are two types of user authentication: – Identity presented by a remote or application participating in a session – Sender’s identity is presented along with a message.
  • 10. Session-Key Encryption • Used to improve efficiency – Symmetric key is used for encrypting data – Asymmetric key is used for encrypting the symmetric key
  • 11. Authentication Basics • Authentication is the process of validating the identity of a user or the integrity of a piece of data. • There are three technologies that provide authentication – Message Digests / Message Authentication Codes – Digital Signatures – Public Key Infrastructure • There are two types of user authentication: – Identity presented by a remote or application participating in a session – Sender’s identity is presented along with a message.
  • 12. Message Authentication Codes Basics • A message digest created with a key • Creates security by requiring a secret key to be possesses by both parties in order to retrieve the message
  • 13. Authentication Message Digests • A message digest is a fingerprint for a document • Purpose of the message digest is to provide proof that data has not altered • Process of generating a message digest from data is called hashing • Hash functions are one way functions with following properties – Infeasible to reverse the function – Infeasible to construct two messages which hash to same digest • Commonly used hash algorithms are – MD5 – 128 bit hashing algorithm by Ron Rivest of RSA – SHA & SHA-1 – 162 bit hashing algorithm developed by NIST
  • 14. Password Authentication Basics • Password is secret character string only known to user and server • Message Digests commonly used for password authentication • Stored hash of the password is a lesser risk – Hacker can not reverse the hash except by brute force attack • Problems with password based authentication – Attacker learns password by social engineering – Attacker cracks password by brute-force and/or guesswork – Eavesdrops password if it is communicated unprotected over the network – Replays an encrypted password back to the authentication server
  • 15. Authentication Protocols Basics • Set of rules that governs the communication of data related to authentication between the server and the user • Techniques used to build a protocol are – Transformed password • Password transformed using one way function before transmission • Prevents eavesdropping but not replay – Challenge-response • Server sends a random value (challenge) to the client along with the authentication request. This must be included in the response • Protects against replay – Time Stamp • The authentication from the client to server must have time-stamp embedded • Server checks if the time is reasonable • Protects against replay • Depends on synchronization of clocks on computers – One-time password • New password obtained by passing user-password through one-way function n times which keeps incrementing • Protects against replay as well as eavesdropping
  • 16. Authentication Protocols Kerberos • Kerberos is an authentication service that uses symmetric key encryption and a key distribution center. • Kerberos Authentication server contains symmetric keys of all users and also contains information on which user has access privilege to which services on the network
  • 17. Authentication Personal Tokens • Personal Tokens are hardware devices that generate unique strings that are usually used in conjunction with passwords for authentication • Different types of tokens exist – Storage Token: A secret value that is stored on a token and is available after the token has been unlocked using a PIN – Synchronous one-time password generator: Generate a new password periodically (e.g. each minute) based on time and a secret code stored in the token – Challenge-response: Token computes a number based on a challenge value sent by the server – Digital Signature Token: Contains the digital signature private key and computes a computes a digital signature on a supplied data value • A variety of different physical forms of tokens exist – e.g. hand-held devices, Smart Cards, PCMCIA cards, USB tokens
  • 18. Authentication Biometrics • Uses certain biological characteristics for authentication – Biometric reader measures physiological indicia and compares them to specified values – It is not capable of securing information over the network • Different techniques exist – Fingerprint Recognition – Voice Recognition – Handwriting Recognition – Face Recognition – Retinal Scan – Hand Geometry Recognition Plain Text Cipher (DES) Session Key Cipher Text Encrypted Key Cipher (RSA) Send to Recipient
  • 19. Authentication Iris Recognition The scanning process takes advantage of the natural patterns in people's irises, digitizing them for identification purposes Facts Probability of two irises producing exactly the same code: 1 in 10 to the 78th power Independent variables (degrees of freedom) extracted: 266 IrisCode record size: 512 bytes Operating systems compatibility: DOS and Windows (NT/95) Average identification speed (database of 100,000 IrisCode records): one to two seconds