Modular Arithmetic Warmup. Computing powers What is 3 2 (mod 7)? 3 2 = 9 = 2 (mod 7) What is 3 25 (mod 7)? 3 25 = (3 12 ) 2 ×3 3 12 = (3 6 ) 2 3 6 = (3.

Slides:



Advertisements
Similar presentations
Modular Arithmetic Several important cryptosystems make use of modular arithmetic. This is when the answer to a calculation is always in the range 0 –
Advertisements

Mod arithmetic.
Chapter 8 – Introduction to Number Theory. Prime Numbers prime numbers only have divisors of 1 and self –they cannot be written as a product of other.
Chapter 8 Introduction to Number Theory. Prime Numbers prime numbers only have divisors of 1 and self –they cannot be written as a product of other numbers.
Announcements: 1. Short “pop” quiz on Ch 3 (today?) 2. Term project groups and topics due midnight 3. HW6 due Tuesday. Questions? This week: Primality.
Chapter 8 – Introduction to Number Theory Prime Numbers  prime numbers only have divisors of 1 and self they cannot be written as a product of other numbers.
Chapter 8 – Introduction to Number Theory Prime Numbers
Chapter 8 – Introduction to Number Theory Prime Numbers  prime numbers only have divisors of 1 and self they cannot be written as a product of other numbers.
Graph of Logarithmic functions. 1 b 1 b 2 2 Graph of y = log b x b >1 If x = , then y = /b b 1 b /b.
Logarithms and The Distance Modulus. Logarithms and Exponents 10 2 = = 1000 Question asked: If you multiply a number by itself a number of times.
CSE 321 Discrete Structures Winter 2008 Lecture 10 Number Theory: Primality.
Properties of Logarithms
Arithmetic.
Elgamal Public Key Encryption CSCI 5857: Encoding and Encryption.
1 Logarithms Definition If y = a x then x = log a y For log 10 x use the log button. For log e x use the ln button.

Section 4.3: Fermat’s Little Theorem Practice HW (not to hand in) From Barr Text p. 284 # 1, 2.
Logarithmic Functions
Warm up. Solution Why do we care? Logarithms are functions that used to be very helpful, but most of their value has become obsolete now that we have.
Solve each equation for x. 1. 3x – 12 = 45 x = x = 39.2 Algebra 3 Warm-Up 5.3.
I CAN APPLY PROPERTIES OF LOGARITHMS. Warm-up Can you now solve 10 x – 13 = 287 without graphing? x ≈ 2.48.
8.6 Solving Exponential and Logarithmic Equations Goal: Solve exponential and logarithmic equations. Correct WS 8.5A.
4.4 Solving Exponential and Logarithmic Equations.
Warm-Up 4/30 Answer: $62, $60, Logarithmic Functions  The inverse of y = b x is _______  The function x = b y is called a___________.
computer
Public key ciphers 2 Session 6.
Solving Logarithmic Equations TS: Making decisions after reflection and review. Obj: Be able to solve equations involving logarithms Warm-Up: Solve for.
What use are prime numbers? ?. o All the primes, apart from 2, are odd numbers. o 1 is not a prime number. Why? o There are infinitely many prime numbers!
MAT 1221 Survey of Calculus Section 4.5 Derivatives of Logarithmic Functions
DRP Carl Gauss “Mathematics is the queen of sciences” “Number Theory is the queen of mathematics”
Concept. Example 1 Logarithmic to Exponential Form A. Write log 3 9 = 2 in exponential form. Answer: 9 = 3 2 log 3 9 = 2 → 9 = 3 2.
Converting between log form and exponential form.
Implementation Issues for Public Key Algorithms
Properties of Logarithms
Congruence and Sets Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois Dali - “The Persistence of Memory” 1.
Fermat’s Little Theorem The RSA Cryptosystem will require exponentiation to decrypt messages. Exponentiation Notation Example 1: Compute Exponentials Example.
Warm-Up 1) Use log 3 5 = and log 3 6 = to approximate log ) Condense 7 log log 4 x + 3 log 4 y.
Logarithmic Functions. Examples Properties Examples.
Logarithmic Properties Exponential Function y = b x Logarithmic Function x = b y y = log b x Exponential Form Logarithmic Form.
RSA Pubic Key Encryption CSCI 5857: Encoding and Encryption.
Data encryption with big prime numbers DANIEL FREEMAN, SLU.
Exponential and log graphs Logarithms Identify all the graphs in the diagrams below. (2,16) (0,1) 0 y x  (3,125) 0 y x (0,1)  0 y 1 (4,16) x  0 y.
Table of Contents Logarithmic function - definition The logarithmic function is given by where: and Example 1: The function is a logarithmic function with.
CRYPTOGRAPHY AND THE DIFFIE–HELLMAN KEY EXCHANGE Presentation by CDT Ashcraft.
Aim: What are the properties of logarithms? Do Now: Rewrite the following exponential form into log form 1.b x = A 2.b y = B HW:p.331 # 16,18,20,22,24,26,28,38,40,42,48,52.
Logarithmic Functions We know: 2 3 =8 and 2 4 =16 But, for what value of x does 2 x = 10? To solve for an exponent, mathematicians defined logarithms.
Use properties of logarithms
Properties of Logarithms
Logs – Solve USING EXPONENTIATION
Properties of Logarithms
Homework Questions?.
Without a calculator ! Mrs. Volynskaya Introduction To Logarithms
Logarithms (2) Laws of logarithms.
סדר דין פלילי – חקיקה ומהות ההליך הפלילי
Sequences & Modular Arithmetic
Natural Logarithms - Integration

Logarithmic and Exponential Equations
Natural Logarithms - Differentiation
Solve for x: log3x– log3(x2 – 8) = log38x
Warmup Solve 256
Logarithmic and Exponential Equations
Diffie-Hellman Key Exchange
4.5 Properties of Logarithms
Which is bigger 3 5
You must show all steps of your working out.
Question 1.
Student Led conferences
Definition of logarithm
Logarithmic Functions
Presentation transcript:

Modular Arithmetic Warmup

Computing powers What is 3 2 (mod 7)? 3 2 = 9 = 2 (mod 7) What is 3 25 (mod 7)? 3 25 = (3 12 ) 2 × = (3 6 ) = (3 3 ) = 3 2 ×3 = 2×3 = 6 (mod 7) 3 6 = 6 2 = 1 (mod 7) 3 12 = 1 2 = 1 (mod 7) 3 25 = 1 2 × 3 = 3 (mod 7)

Discrete Logarithms So 25 is a base-7 discrete logarithm of 3 since 3 25 = 3 (mod 7) What is log ? Easy using Wolfram alpha: –log b a = log a/log b But what is a discrete base 123 log of 1 (mod 7)? 57 is an answer since = ×7+1 But how would you ever know? And if the base and the modulus get bigger ….