Cryptography Cryptography is the use of mathematics to encode messages and prevent them from being read by anyone who doesn’t know the code. One way that.

Slides:



Advertisements
Similar presentations
Using Matrices in Real Life
Advertisements

Determinant The numerical value of a square array of numbers that can be used to solve systems of equations with matrices. Second-Order Determinant (of.
Identity and Inverse Matrices
Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices
Section 3.8: More Modular Arithmetic and Public-Key Cryptography
9/21/12. I can identify which factors are prime numbers. LEARNING TARGET.
Inverses of n x n Matrices. The Inverse Matrix If A is an n x n matrix, the inverse of A (call it A -1 ) is the matrix such that A * A -1 is equal to.
An Introduction to Cryptography TEA fellows February 9, 2012 Dr. Kristen Abernathy.
Guess My Word part 2 Add extra privacy to our communications! – how is it done?
Guess My Word Mr. Nan Wang, C2PRISM Fellow Mr. Gerardo Stricker, Pre-CalculusTeacher Add extra privacy to our communications! – how is it done?
Section 9.6 Determinants and Inverses Objectives To understand how to find a determinant of a 2x2 matrix. To understand the identity matrix. Do define.
4-5 Matrix Inverses and Solving Systems Warm Up Lesson Presentation
Finding the Inverse of a Matrix
Using Matrices to Solve a 3-Variable System
4.3 The Inverse of a Matrix Warm-up (IN)
Table of Contents Matrices - Inverse Matrix Definition The inverse of matrix A is a matrix A -1 such that... and Note that... 1) For A to have an inverse,
4.7 Identity and Inverse Matrices. What is an identity? In math the identity is the number you multiply by to have equivalent numbers. For multiplication.
An Introduction to Hill Ciphers Using Linear Algebra Brian Worthington University of North Texas MATH /10/2010.
Inverse Matrices (2 x 2) How to find the inverse of a 2x2 matrix.
Copyright © Cengage Learning. All rights reserved. 7.8 Applications of Matrices and Determinants.
Using Matrices to Solve a System of Equations. Multiplicative Identity Matrix The product of a square matrix A and its identity matrix I, on the left.
4-6 3x3 Matrices, Determinants, & Inverses
Chapter 10 Review: Matrix Algebra
2.4 Inverse of Linear Transformations For an animation of this topic visit: Is the transformation.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Systems of Equations as Matrices and Hill Cipher.
Matrices This chapter is not covered By the Textbook 1.
Lesson 4.7. Identity Matrix:  If you multiply a matrix by an identity matrix (I) the result is the same as the original matrix.  If Matrix A is a square.
Holt Algebra Matrix Inverses and Solving Systems A matrix can have an inverse only if it is a square matrix. But not all square matrices have inverses.
4.7 Identity and Inverse Matrices
Identity and Inverse Matrices. Key Topics Identity matrix: a square matrix, multiplied with another matrix doesn’t change the other matrix (just like.
Chapter 9 Matrices and Determinants Copyright © 2014, 2010, 2007 Pearson Education, Inc Multiplicative Inverses of Matrices and Matrix Equations.
Using Inverse Matrices in Real Life
What you will learn 1. What an identity matrix is
Identity What number is the multiplication identity for real numbers? For matrices, n x n--square matrices, has 1’s on main diagonal and zeros elsewhere.
 1 is the multiplicative identify for real #’s : 1· a=a and a· 1 = a  For matrices n X n, the identity matrix has 1’s on its main diagonals and 0’s.
Inverse and Identity Matrices Can only be used for square matrices. (2x2, 3x3, etc.)
4.4 Identity and Inverse Matrices
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
Warm- Up Solve the following systems using elimination or substitution : 1. x + y = 6 -3x + y = x + 4y = 7 x + 2y = 7.
Cryptography and Coding Theory
Chapter 12: Cryptography MAT 320 Spring Cryptography: Basic Ideas We want to encode information so that no one other than the intended recipient.
 A basic equation is made of three parts, coefficients, variables, and the constants.  The coefficient is the number before the variable  The variable.
Notes Over 10.5 Using Cramer’s Rule for a 2 x 2 System
Notes Over 4.4 Finding the Inverse of 2 x 2 Matrix.
Warm UP: Review of Inequalities What do each of the symbols represent: 1. > 2. < Greater Than 2. Less than 3. Less than or equal to 4. Greater.
Warm Up Multiple the matrices. 1. Find the determinant –1 0.
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
Investigating Identity and Inverse Matrices QUESTION: What are some properties of identity and inverse matrices? 1 Let A =, B =, and C=. Consider the 2.
Chapter 4 Systems of Linear Equations; Matrices
Using Matrices to Solve a 3-Variable System
12-4: Matrix Methods for Square Systems
Warm-up 1. Find A-1 , A = 2. Solve AX = B when B =
Applications of Matrices
Section 6.4 Multiplicative Inverses of Matices and Matrix Equations
4-5 Matrix Inverses and Solving Systems Warm Up Lesson Presentation
Applications of Inverse Matrices
Inverse & Identity MATRICES Last Updated: October 12, 2005.
Multiplication More complicated than addition
Section 9.4 Multiplicative Inverses of Matices and Matrix Equations
Learning Objectives for Section 4.5 Inverse of a Square Matrix
Chapter 4 Systems of Linear Equations; Matrices
Do Now: Brainstorm and Write your Ideas in your Notebook
SLOT Week 9 – Day 1.
Hill Cipher The Hill Cipher uses matrix multiplication to encrypt a message. First, you need to assign two numbers to each letter in the alphabet and also.
APPLICATIONS OF LINEAR ALGEBRA IN INFORMATION TECHNOLOGY
Chapter 4 Systems of Linear Equations; Matrices
Presentation transcript:

Cryptography Cryptography is the use of mathematics to encode messages and prevent them from being read by anyone who doesn’t know the code. One way that this is accomplished is through the use of matrices.

Using Matrices as a Code Matrices can be used as a kind of secret code. The matrix is used to garble a message, and you can’t decode the garbled message without knowing the matrix that was used to garble it in the first place.

The Technique First, create a matrix that will be used to encode your message. You can use a square matrix of any size. We’ll use a 3 x 3 matrix. Second, determine the inverse of this matrix. This will be used to decode the message. Third, convert the message to a sequence of numbers. Assign each letter a number from 1-26, with spaces being 27. Group your numbers into 3 x 1 matrices (vectors). Multiply each of these vectors by your matrix to encode the message.

Example Let’s encode the message “Hello World” using the matrix

Example First, we need to calculate the inverse of this matrix. The process of calculating the inverse will be left up to the reader, but suffice it to say that the inverse is

Example Now we need to convert our message into numbers. If we let A = 1, B = 2, etc., we will end up with 8, 5, 12, 12, 15, 27, 23, 15, 18, 12, 4.

Example

Make sure you multiply in the correct order: Matrix * Vector, not Vector * Matrix.

Decoding To decode the matrix, just multiply each of the 3x1 matrices (vectors) that you received by the inverse matrix. This gives the original numbers. Try it yourself! Again, make sure you multiply in the correct order: Matrix * Vector.