Information and data security block cipher and the data encryption standard (...Mazin Alwaaly
Information And Data Security Block Cipher and the data encryption standard (DES) seminar
Mustansiriya University
Department of Education
Computer Science
Information and data security block cipher and the data encryption standard (...Mazin Alwaaly
Information And Data Security Block Cipher and the data encryption standard (DES) seminar
Mustansiriya University
Department of Education
Computer Science
Stream Cipher
Block Cipher
Stream Cipher and Block Cipher
The Feistel Cipher
Feistel Cipher Design Features
Data Encryption Standard (DES)
DES is a block cipher
THE AVALANCHE EFFECT
Block Cipher Design Principles
Comparative Analysis of Cryptographic Algorithms and Advanced Cryptographic A...editor1knowledgecuddle
Today is the era of Internet and networks applications. So,Information security is a challenging issue in today’s technological world. There is a demand for a stronger encryption which is very hard to crack. The role of Cryptography is most important in the field of network security. There is a broad range of cryptographic algorithms that are used for securing networks and presently continuous researches on the new cryptographic algorithms are going on for evolving more advanced techniques for secures
communication. In this study is made for the cryptography algorithms, particularly algorithms- AES, DES, RSA, Blowfishare compared and performance is evaluated. Also some enhanced algorithms are described and compared with the enhanced algorithms.
Keywords - AES, DES, BLOWFISH, Decryption, Encryption, Security
Security Analysis of AES and Enhancing its Security by Modifying S-Box with a...IJCNCJournal
Secured and opportune transmission of data alwaysis a significant feature for any organization. Robust
encryption techniques and algorithms always facilitate in augmenting secrecy, authentication and
reliability of data. At present, Advanced Encryption Standard (AES) patronized by NIST is the most secure
algorithm for escalating the confidentiality of data. This paper mainly focuses on an inclusive analysis
related to the security of existing AES algorithm and aim to enhance the level security of this algorithm.
Through some modification of existing AES algorithm by XORing an additional byte with s-box value, we
have successfully increased the Time Security and Strict Avalanche Criterion. We have used random
additional key for increasing security. Since this key is random, result of security measurement sometimes
fluctuates.
ENSEMBLE OF BLOWFISH WITH CHAOS BASED S BOX DESIGN FOR TEXT AND IMAGE ENCRYPTIONIJNSA Journal
The rapid and extensive usage of Internet in the present decade has put forth information security as an utmost concern. Most of the commercial transactions taking place over the Internet involves a wide variety of data including text, images, audio and video. With the increasing use of digital techniques for transmitting and storing Multimedia data, the fundamental issue of protecting the confidentiality, integrity and authenticity of the information poses a major challenge for security professionals and hassled to the major developments in Cryptography . In cryptography, an S-Box (Substitution-box) is a basic component of symmetric key algorithms, which performs substitution and is typically used to make the relationship between the key and the cipher text non linear and most of the symmetric key algorithms like DES, Blowfish makes use of S boxes. This paper proposes a new method for design of S boxes based on chaos theory. Chaotic equations are popularly known for its randomness, extreme sensitivity to initial conditions and ergodicity. The modified design has been tested with blowfish algorithm which has no effective crypt analysis reported against its design till date because of its salient design features including the key dependant s boxes and complex key generation process. However every new key requires pre-processing equivalent to encrypting about 4 kilobytes of text, which is very slow compared to other block ciphers and it prevents its usage in memory limited applications and embedded systems. The modified design of S boxes maintains the non linearity [3] [5] and key dependency factors of S boxes with a major reduction in time complexity of generation of S boxes and P arrays. The algorithm has been implemented and the proposed design has been analyzed for size of key space, key sensitivity and Avalanche effect. Experimental results on text and Image Encryption show that the modified design of key generation continues to offer the same
level of security as the original Blowfish cipher with a less computational overhead in key generation.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Stream Cipher
Block Cipher
Stream Cipher and Block Cipher
The Feistel Cipher
Feistel Cipher Design Features
Data Encryption Standard (DES)
DES is a block cipher
THE AVALANCHE EFFECT
Block Cipher Design Principles
Comparative Analysis of Cryptographic Algorithms and Advanced Cryptographic A...editor1knowledgecuddle
Today is the era of Internet and networks applications. So,Information security is a challenging issue in today’s technological world. There is a demand for a stronger encryption which is very hard to crack. The role of Cryptography is most important in the field of network security. There is a broad range of cryptographic algorithms that are used for securing networks and presently continuous researches on the new cryptographic algorithms are going on for evolving more advanced techniques for secures
communication. In this study is made for the cryptography algorithms, particularly algorithms- AES, DES, RSA, Blowfishare compared and performance is evaluated. Also some enhanced algorithms are described and compared with the enhanced algorithms.
Keywords - AES, DES, BLOWFISH, Decryption, Encryption, Security
Security Analysis of AES and Enhancing its Security by Modifying S-Box with a...IJCNCJournal
Secured and opportune transmission of data alwaysis a significant feature for any organization. Robust
encryption techniques and algorithms always facilitate in augmenting secrecy, authentication and
reliability of data. At present, Advanced Encryption Standard (AES) patronized by NIST is the most secure
algorithm for escalating the confidentiality of data. This paper mainly focuses on an inclusive analysis
related to the security of existing AES algorithm and aim to enhance the level security of this algorithm.
Through some modification of existing AES algorithm by XORing an additional byte with s-box value, we
have successfully increased the Time Security and Strict Avalanche Criterion. We have used random
additional key for increasing security. Since this key is random, result of security measurement sometimes
fluctuates.
ENSEMBLE OF BLOWFISH WITH CHAOS BASED S BOX DESIGN FOR TEXT AND IMAGE ENCRYPTIONIJNSA Journal
The rapid and extensive usage of Internet in the present decade has put forth information security as an utmost concern. Most of the commercial transactions taking place over the Internet involves a wide variety of data including text, images, audio and video. With the increasing use of digital techniques for transmitting and storing Multimedia data, the fundamental issue of protecting the confidentiality, integrity and authenticity of the information poses a major challenge for security professionals and hassled to the major developments in Cryptography . In cryptography, an S-Box (Substitution-box) is a basic component of symmetric key algorithms, which performs substitution and is typically used to make the relationship between the key and the cipher text non linear and most of the symmetric key algorithms like DES, Blowfish makes use of S boxes. This paper proposes a new method for design of S boxes based on chaos theory. Chaotic equations are popularly known for its randomness, extreme sensitivity to initial conditions and ergodicity. The modified design has been tested with blowfish algorithm which has no effective crypt analysis reported against its design till date because of its salient design features including the key dependant s boxes and complex key generation process. However every new key requires pre-processing equivalent to encrypting about 4 kilobytes of text, which is very slow compared to other block ciphers and it prevents its usage in memory limited applications and embedded systems. The modified design of S boxes maintains the non linearity [3] [5] and key dependency factors of S boxes with a major reduction in time complexity of generation of S boxes and P arrays. The algorithm has been implemented and the proposed design has been analyzed for size of key space, key sensitivity and Avalanche effect. Experimental results on text and Image Encryption show that the modified design of key generation continues to offer the same
level of security as the original Blowfish cipher with a less computational overhead in key generation.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
2. As a cryptanalyst, you’ll study ciphers, codes, and encryption systems to learn how they
work and gain access to information that would otherwise be impossible to interpret.
Tasks and responsibilities
Collect, process, and analyze intelligence information
Analyze garbled (confused) intercepts
Exploit encrypted materials
Debug software programs
Diagnose weaknesses in cryptographic algorithms
Develop new cryptanalysis tools
Develop methods for exploiting computer network vulnerabilities
3. Frequency of letters are the same
In English, the letter e is the most common letter, just because it has been changed into a
different doesn’t mean it hides the fact that the letter is likely the letter e
Ways you can avoid this is to replace 2 or 3 letters at a time
You can use poly-alphabetic substitution which allows repeated letters
English lacks enough entropy
Any person with enough time can just work it out because people can find meaning in the
text
5. Understand the distinction between stream ciphers and block ciphers.
An overview of the Feistel cipher
An overview of Data Encryption Standard (DES).
The concept of the avalanche effect.
The cryptographic strength of DES.
Although numerous symmetric ciphers have been developed since the
introduction of DES, and
Although it is destined to be replaced by the Advanced Encryption
Standard (AES), DES remains the most important algorithm.
6. Stream Ciphers and Block Ciphers
Motivation for the Feistel Cipher Structure
“A block cipher operates on a plaintext block of n bits to produce a ciphertext block
of n bits. There are 2n possible different plaintext blocks”
9. If a small block size, such as n = 4, is used, then the system is equivalent to a classical
substitution cipher.
Such systems, as we have seen, are vulnerable to a statistical analysis of the plaintext.
An arbitrary reversible substitution cipher (the ideal block cipher) for a large block size is not
practical.
In this case, using this straightforward method of defining the key, the required key length is
(4 bits) * (16 rows) = 64 bits.
In general, for an n-bit ideal block cipher, the length of the key defined in this fashion is n * 2n
bits.
For a 64-bit block, which is a desirable length to thwart statistical attacks, the required key
length is 64 * 264 = 270 1021 bits.
10. We could use the general block substitution cipher but, to make its implementation tractable,
confine ourselves to a subset of the 2n! possible reversible mappings
For example, suppose we define the mapping in terms of a set of linear equations. In the case
of n = 4, we have
where xi are the four binary digits of the plaintext block,
yi are the four binary digits of the ciphertext block,
kij are the binary coefficients, and arithmetic is mod 2.
11. Feistel proposed approximation of ideal block cipher by utilizing the product cipher concept,
which is the execution of two or more simple ciphers in sequence
In particular, Feistel proposed the use of a cipher that alternates substitutions and
permutations, where these terms are defined as follows:
o Substitution: Each plaintext element or group of elements is uniquely replaced by a
corresponding ciphertext element or group of elements.
o Permutation: A sequence of plaintext elements is replaced by a permutation of that
sequence.
That is, no elements are added or deleted or replaced in the sequence, rather the order in
which the elements appear in the sequence is changed.
In fact, Feistel’s is a practical application of a proposal by Claude Shannon to develop a product
cipher that alternates confusion and diffusion functions
12. The terms diffusion and confusion were introduced by Claude Shannon to capture the two
basic building blocks for any cryptographic system
In diffusion, the statistical structure of the plaintext is dissipated into long-range statistics
of the ciphertext. This is achieved by having each plaintext digit affect the value of many
ciphertext digits
An example of diffusion is to encrypt a message M = m1, m2, m3, . . . of characters with an
averaging operation:
adding k successive letters to get a ciphertext letter yn.
Confusion seeks to make the relationship between the statistics of the ciphertext and the
value of the encryption key as complex as possible (making difficult to discover key)
13. Figure Represents:
Feistel Encryption and Decryption
(16 rounds)
The inputs to the encryption
algorithm are a plaintext block of
length 2w bits and a key K
The plaintext block is divided
into two halves, L0 and R0.
A subkey Ki derived from the
overall K.
In general, the subkeys Ki are
different from K and from each
other
Permutation
Substitution
14. Block size
Key size
Number of rounds
Subkey generation algorithm
Round function F
Fast software encryption/decryption
Ease of analysis for algorithm design
15. Until the introduction of the Advanced Encryption Standard (AES) in 2001, the Data
Encryption Standard (DES) was the most widely used encryption scheme.
DES was issued in 1977 by the National Bureau of Standards
The algorithm itself is referred to as the Data Encryption Algorithm (DEA).
For DEA, data are encrypted in 64-bit blocks using a 56-bit key.
The algorithm transforms 64-bit input in a series of steps into a 64-bit output.
The same steps, with the same key, are used to reverse the encryption.
16. DES ENCRYPTION
Three phases:
First, the 64-bit plaintext passes through an initial
permutation (IP) that rearranges the bits to
produce the permuted input.
This is followed by a phase consisting of sixteen
rounds that produces output of 64 bits (includes P
& S)
Finally, the preoutput is passed through a
permutation [IP-1] to produce the 64-bit
ciphertext.
17. DES DECRYPTION
Decryption uses the same algorithm as encryption, except that the application of
the subkeys is reversed.
Additionally, the initial and final permutations are reversed.
18. 1) Using the Vigenère cipher, encrypt the word “explanation” using the key leg.
2) Using this Playfair matrix, Encrypt this message: “Must see you over Cadogan West. Coming
at once.”
3) In one of his cases, Sherlock Holmes was confronted with the following message.
534 C2 13 127 36 31 4 17 21 41
DOUGLAS 109 293 5 37 BIRLSTONE
26 BIRLSTONE 9 127 171
Although Watson was puzzled, Holmes was able immediately to deduce the type of cipher. Can you?
19. For this example, the plaintext is a hexadecimal palindrome. The plaintext, key,
and resulting ciphertext are as follows:
20. The first row shows the 32-bit
values of the left and right
halves of data after the initial
permutation.
Also shown is the value of the
48-bit subkey generated for
each round.
Note that Li = Ri-1. The final
row shows the left- and right-
hand values after the inverse
initial permutation.
These two values combined
form the ciphertext.
21. A desirable property of any encryption algorithm is that a small change in either the
plaintext or the key should produce a significant change in the ciphertext.
In particular, a change in one bit of the plaintext or one bit of the key should produce a
change in many bits of the ciphertext.
- This is referred to as the avalanche effect.
22.
23.
24. The Use of 56-Bit Keys:
With a key length of 56 bits, there are 256 possible keys, which is approximately 7.2 * 1016
keys.
The Nature of the DES Algorithm:
Another concern is the possibility that cryptanalysis is possible by exploiting the
characteristics of the DES algorithm.
The focus of concern has been on the eight substitution tables, or S-boxes used in each
iteration
S-boxes are constructed in such a way that cryptanalysis is possible for an opponent who
knows the weaknesses in the S-boxes.
25.
26. Timing Attacks:
In essence, a timing attack is one in which information about the key or the plaintext is
obtained by observing how long it takes a given implementation to perform decryptions on
various ciphertexts
A timing attack exploits the fact that an encryption or decryption algorithm often takes
slightly different amounts of time on different inputs.
27. BLOCK CIPHER DESIGN PRINCIPLES
We look at three critical aspects of block cipher design:
The number of rounds,
Design of the function F, and
Key scheduling.
28. The greater the number of rounds, the more difficult it is to perform cryptanalysis,
even for a relatively weak F.
In general, the criterion should be that the number of rounds is chosen so that known
cryptanalytic efforts require greater effort than a simple brute-force key search attack.
16-round DES, a differential cryptanalysis attack is slightly less efficient than brute
force
The differential cryptanalysis attack requires 255.1 operations, whereas brute force
requires 255.
This criterion is attractive, because it makes it easy to judge the strength of an
algorithm and to compare different algorithms.
29. The heart of a Feistel block cipher is the function F, which provides the element of confusion
in a Feistel cipher.
One obvious criterion is that F be nonlinear function
The more nonlinear F, the more difficult any type of cryptanalysis will be.
We would like the algorithm to have good avalanche properties - A more stringent version
of this is the strict avalanche criterion (SAC)
Another criterion proposed in [WEBS86] is the Bit Independence Criterion (BIC), which
states that output bits j and k should change independently when any single input bit i is
inverted for all i, j, and k.
30. With any Feistel block cipher, the key is used to generate one subkey for each round.
In general, we would like to select subkeys to maximize the difficulty of deducing
individual subkeys and the difficulty of working back to the main key.
No general principles for this have yet been promulgated.
Adams suggests [ADAM94] that the key schedule should guarantee key/ciphertext
Strict Avalanche Criterion and Bit Independence Criterion.
31. PUBLIC-KEY CRYPTOGRAPHY AND RSA
In this chapter:
Overview of the basic principles of public-key cryptosystems.
The two distinct uses of public-key cryptosystems.
The requirements for a public-key cryptosystem.
Overview of the RSA algorithm.
The timing attack.
32. Public-key algorithms are based on mathematical functions rather than on
substitution and permutation
Public-key cryptography is asymmetric, involving the use of two separate keys
The use of two keys has profound consequences in the areas of confidentiality, key
distribution, and authentication
Several common misconceptions concerning public-key encryption.
1) Public-key encryption is more secure from cryptanalysis than is symmetric encryption
2) Public-key encryption is a general-purpose technique that has made symmetric
encryption obsolete.
3) There is a feeling that key distribution is trivial (no importance) when using public key
encryption
33. PRINCIPLES OF PUBLIC-KEY CRYPTOSYSTEMS
The concept of public-key cryptography evolved from an attempt to attack two of the most
difficult problems associated with symmetric encryption.
The first problem is that of key distribution, key distribution under symmetric encryption
requires either
1) That two communicants already share a key, which somehow has been distributed to
them; or
2) The use of a key distribution center.
Use of digital signatures - not just in military situations but for commercial and private
purposes
34. Asymmetric algorithms rely on one key for encryption and a different but related key for
decryption and have the following important characteristic:
1) It is computationally infeasible to determine the decryption key given only knowledge of the
cryptographic algorithm and the encryption key.
2) Either of the two related keys can be used for encryption, with the other used for decryption.
A public-key encryption scheme has six ingredients
1) Plaintext:
2) Encryption algorithm
3) Public and private keys
4) Ciphertext
5) Decryption algorithm
35.
36.
37. THE ESSENTIAL STEPS ARE THE FOLLOWING
1) Each user generates a pair of keys to be used for the encryption and decryption of
messages.
2) Each user places one of the two keys in a public register or other accessible file.
This is the public key. The companion key is kept private.
3) If Bob wishes to send a confidential message to Alice, Bob encrypts the message
using Alice’s public key.
4) When Alice receives the message, she decrypts it using her private key. No other
recipient can decrypt the message because only Alice knows Alice’s private key.