SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler offline
P Y T H O N C R Y P T O G R A P H Y :
P Y T H O N C R Y P T O G R A P H Y :
P Y T H O N C R Y P T O G R A P H Y :
A D V E N T U R E S F O R
A D V E N T U R E S F O R
A D V E N T U R E S F O R
Y O U N G M I N D S !
Y O U N G M I N D S !
Y O U N G M I N D S !
A R E Y O U S E E K I N G A N
A R E Y O U S E E K I N G A N
A R E Y O U S E E K I N G A N
E X C I T I N G C O D I N G C O U R S E
E X C I T I N G C O D I N G C O U R S E
E X C I T I N G C O D I N G C O U R S E
F O R Y O U R C H I L D ? D I V E I N T O
F O R Y O U R C H I L D ? D I V E I N T O
F O R Y O U R C H I L D ? D I V E I N T O
T H E W O R L D O F
T H E W O R L D O F
T H E W O R L D O F
C R Y P T O G R A P H Y W I T H
C R Y P T O G R A P H Y W I T H
C R Y P T O G R A P H Y W I T H
P Y T H O N ! I T ' S N O T J U S T
P Y T H O N ! I T ' S N O T J U S T
P Y T H O N ! I T ' S N O T J U S T
A B O U T S E C R E T M E S S A G E S ;
A B O U T S E C R E T M E S S A G E S ;
A B O U T S E C R E T M E S S A G E S ;
I T ' S A J O U R N E Y O F P R O B L E M -
I T ' S A J O U R N E Y O F P R O B L E M -
I T ' S A J O U R N E Y O F P R O B L E M -
S O L V I N G A N D C R E A T I V I T Y .
S O L V I N G A N D C R E A T I V I T Y .
S O L V I N G A N D C R E A T I V I T Y .
THE THRILL OF
THE THRILL OF
THE THRILL OF
CRYPTOGRAPHY
CRYPTOGRAPHY
CRYPTOGRAPHY
CRYPTOGRAPHY ISN'T JUST ABOUT
HIDING MESSAGES; IT'S ABOUT
UNLOCKING SECRETS AND SOLVING
PUZZLES. WITH PYTHON, KIDS CAN
EMBARK ON THRILLING ADVENTURES IN
CODEBREAKING.
1. CRACK THE
1. CRACK THE
1. CRACK THE
CAESAR CIPHER
CAESAR CIPHER
CAESAR CIPHER
With just a few lines of Python, kids can encrypt and decrypt
messages using the ancient Caesar Cipher. It's like having
their own secret code!
STEP 01
def caesar_cipher(text, shift): encrypted = ''.join(chr((ord(char) - 65 +
shift) % 26 + 65) if char.isalpha() else char for char in text.upper())
return encrypted # Encrypt a message message = "SECRETMESSAGE"
encrypted_message = caesar_cipher(message, 3) print("Encrypted:",
encrypted_message) # Decrypt the message decrypted_message =
caesar_cipher(encrypted_message, -3) print("Decrypted:",
decrypted_message)
EXPLORE THE
EXPLORE THE
EXPLORE THE
RSA ALGORITHM
RSA ALGORITHM
RSA ALGORITHM
Delve into modern cryptography with the RSA algorithm. In
Python, kids can generate their own secure keys and encrypt
messages like real-life spies!
STEP 02
from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP #
Generate RSA key pair key = RSA.generate(2048) # Encrypt a message with
the public key cipher = PKCS1_OAEP.new(key.publickey()) message =
b"TOPSECRETMESSAGE" encrypted_message = cipher.encrypt(message)
print("Encrypted:", encrypted_message) # Decrypt the message with the
private key cipher = PKCS1_OAEP.new(key) decrypted_message =
cipher.decrypt(encrypted_message) print("Decrypted:",
decrypted_message.decode())
UNLOCK THE FUN!
UNLOCK THE FUN!
UNLOCK THE FUN!
Python cryptography isn't just educational; it's an adventure waiting to
happen! Enroll your child today and watch them embark on a thrilling journey
through the world of secret codes and hidden messages.
Book a Free
Book a Free
Book a Free
Trial Class
Trial Class
Trial Class
Now
Now
Now
www.skoolofcode.us
+1 425-305-4645
learn@skoolofcode.us
Redmond, Washington, USA

Mais conteúdo relacionado

Semelhante a Python Cryptography Adventures for Young Minds!.pdf

Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness
Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness
Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness
Delivering Happiness
 

Semelhante a Python Cryptography Adventures for Young Minds!.pdf (20)

Gerenciamento de riscos
Gerenciamento de riscosGerenciamento de riscos
Gerenciamento de riscos
 
Un-artificial Intelligence: How People Learn (Melinda Seckington)
Un-artificial Intelligence: How People Learn (Melinda Seckington)Un-artificial Intelligence: How People Learn (Melinda Seckington)
Un-artificial Intelligence: How People Learn (Melinda Seckington)
 
The Library As Indicator Species: Evolution, or Extinction?
The Library As Indicator Species: Evolution, or Extinction?The Library As Indicator Species: Evolution, or Extinction?
The Library As Indicator Species: Evolution, or Extinction?
 
Final Evaluation.pptx
Final Evaluation.pptxFinal Evaluation.pptx
Final Evaluation.pptx
 
Notes App Case Study
Notes App Case StudyNotes App Case Study
Notes App Case Study
 
Cryptocurrency: The Pros and Cons
Cryptocurrency: The Pros and ConsCryptocurrency: The Pros and Cons
Cryptocurrency: The Pros and Cons
 
Riesgos informaticos
Riesgos informaticosRiesgos informaticos
Riesgos informaticos
 
Final Evaluation.pptx
Final Evaluation.pptxFinal Evaluation.pptx
Final Evaluation.pptx
 
Deber
Deber Deber
Deber
 
Peix globus
Peix globusPeix globus
Peix globus
 
The 7 Essential Secrets of the Tech Job Search
The 7 Essential Secrets of the Tech Job SearchThe 7 Essential Secrets of the Tech Job Search
The 7 Essential Secrets of the Tech Job Search
 
DPU SUMMER LAB PROPOSAL GROUP A
DPU SUMMER LAB PROPOSAL GROUP ADPU SUMMER LAB PROPOSAL GROUP A
DPU SUMMER LAB PROPOSAL GROUP A
 
Mark Bronner: Are Chocolate Diamonds Rare?
Mark Bronner: Are Chocolate Diamonds Rare?Mark Bronner: Are Chocolate Diamonds Rare?
Mark Bronner: Are Chocolate Diamonds Rare?
 
Internet of Things: An Introduction
Internet of Things: An IntroductionInternet of Things: An Introduction
Internet of Things: An Introduction
 
Tip for Women Traveling Solo
Tip for Women Traveling SoloTip for Women Traveling Solo
Tip for Women Traveling Solo
 
Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness
Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness
Cleveland Clinic PE Summit, Jenn Lim, Delivering Happiness
 
Franchisee Business Proposal
Franchisee Business ProposalFranchisee Business Proposal
Franchisee Business Proposal
 
A Twenty-Minute Intro to Scrum Lean Agile Scotland 2015
A Twenty-Minute Intro to Scrum Lean Agile Scotland 2015 A Twenty-Minute Intro to Scrum Lean Agile Scotland 2015
A Twenty-Minute Intro to Scrum Lean Agile Scotland 2015
 
Life on mars
Life on marsLife on mars
Life on mars
 
Almost Everything I've Learned From 5 Years of Lean UX
Almost Everything I've Learned From 5 Years of Lean UXAlmost Everything I've Learned From 5 Years of Lean UX
Almost Everything I've Learned From 5 Years of Lean UX
 

Mais de SkoolOfCode

Mais de SkoolOfCode (14)

Tech-Savvy Kids Best Ways to Learn Mobile App Development.pdf
Tech-Savvy Kids Best Ways to Learn Mobile App Development.pdfTech-Savvy Kids Best Ways to Learn Mobile App Development.pdf
Tech-Savvy Kids Best Ways to Learn Mobile App Development.pdf
 
Exploring Creativity with Makey Makey 8 Reasons to Dive into Coding Adventure...
Exploring Creativity with Makey Makey 8 Reasons to Dive into Coding Adventure...Exploring Creativity with Makey Makey 8 Reasons to Dive into Coding Adventure...
Exploring Creativity with Makey Makey 8 Reasons to Dive into Coding Adventure...
 
5 Entertaining Python Projects to Spark Your Child's Coding Passion!.pdf
5 Entertaining Python Projects to Spark Your Child's Coding Passion!.pdf5 Entertaining Python Projects to Spark Your Child's Coding Passion!.pdf
5 Entertaining Python Projects to Spark Your Child's Coding Passion!.pdf
 
Block-Based Coding...................pdf
Block-Based Coding...................pdfBlock-Based Coding...................pdf
Block-Based Coding...................pdf
 
Discover Scratch Your Child's Gateway to Coding Creativity!.pdf
Discover Scratch Your Child's Gateway to Coding Creativity!.pdfDiscover Scratch Your Child's Gateway to Coding Creativity!.pdf
Discover Scratch Your Child's Gateway to Coding Creativity!.pdf
 
Nurturing Coding Skills in Children with Autism.pdf
Nurturing Coding Skills in Children with Autism.pdfNurturing Coding Skills in Children with Autism.pdf
Nurturing Coding Skills in Children with Autism.pdf
 
Innovate, Create, Code: Exploring the Dynamic World of STEM-Centric Coding Co...
Innovate, Create, Code: Exploring the Dynamic World of STEM-Centric Coding Co...Innovate, Create, Code: Exploring the Dynamic World of STEM-Centric Coding Co...
Innovate, Create, Code: Exploring the Dynamic World of STEM-Centric Coding Co...
 
Tech Tales 5 Movies to Ignite Your Inner Innovator!.pdf
Tech Tales 5 Movies to Ignite Your Inner Innovator!.pdfTech Tales 5 Movies to Ignite Your Inner Innovator!.pdf
Tech Tales 5 Movies to Ignite Your Inner Innovator!.pdf
 
Fun Learning with Arduino Online........
Fun Learning with Arduino Online........Fun Learning with Arduino Online........
Fun Learning with Arduino Online........
 
Navigating the Digital Seas A Parent's Guide to Early Coding Adventures.pdf
Navigating the Digital Seas A Parent's Guide to Early Coding Adventures.pdfNavigating the Digital Seas A Parent's Guide to Early Coding Adventures.pdf
Navigating the Digital Seas A Parent's Guide to Early Coding Adventures.pdf
 
Time Management Skill for Kids..........
Time Management Skill for Kids..........Time Management Skill for Kids..........
Time Management Skill for Kids..........
 
RoboGenius Unleashing Potential Through Educational Robotics.pdf
RoboGenius Unleashing Potential Through Educational Robotics.pdfRoboGenius Unleashing Potential Through Educational Robotics.pdf
RoboGenius Unleashing Potential Through Educational Robotics.pdf
 
The Evolution of Learning Harnessing the Power of Progressive Supplemental Ed...
The Evolution of Learning Harnessing the Power of Progressive Supplemental Ed...The Evolution of Learning Harnessing the Power of Progressive Supplemental Ed...
The Evolution of Learning Harnessing the Power of Progressive Supplemental Ed...
 
Cultivating 21st Century Skills in Young Nomads.pdf
Cultivating 21st Century Skills in Young Nomads.pdfCultivating 21st Century Skills in Young Nomads.pdf
Cultivating 21st Century Skills in Young Nomads.pdf
 

Último

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MysoreMuleSoftMeetup
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 

Último (20)

Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 

Python Cryptography Adventures for Young Minds!.pdf

  • 1. P Y T H O N C R Y P T O G R A P H Y : P Y T H O N C R Y P T O G R A P H Y : P Y T H O N C R Y P T O G R A P H Y : A D V E N T U R E S F O R A D V E N T U R E S F O R A D V E N T U R E S F O R Y O U N G M I N D S ! Y O U N G M I N D S ! Y O U N G M I N D S !
  • 2. A R E Y O U S E E K I N G A N A R E Y O U S E E K I N G A N A R E Y O U S E E K I N G A N E X C I T I N G C O D I N G C O U R S E E X C I T I N G C O D I N G C O U R S E E X C I T I N G C O D I N G C O U R S E F O R Y O U R C H I L D ? D I V E I N T O F O R Y O U R C H I L D ? D I V E I N T O F O R Y O U R C H I L D ? D I V E I N T O T H E W O R L D O F T H E W O R L D O F T H E W O R L D O F C R Y P T O G R A P H Y W I T H C R Y P T O G R A P H Y W I T H C R Y P T O G R A P H Y W I T H P Y T H O N ! I T ' S N O T J U S T P Y T H O N ! I T ' S N O T J U S T P Y T H O N ! I T ' S N O T J U S T A B O U T S E C R E T M E S S A G E S ; A B O U T S E C R E T M E S S A G E S ; A B O U T S E C R E T M E S S A G E S ; I T ' S A J O U R N E Y O F P R O B L E M - I T ' S A J O U R N E Y O F P R O B L E M - I T ' S A J O U R N E Y O F P R O B L E M - S O L V I N G A N D C R E A T I V I T Y . S O L V I N G A N D C R E A T I V I T Y . S O L V I N G A N D C R E A T I V I T Y .
  • 3. THE THRILL OF THE THRILL OF THE THRILL OF CRYPTOGRAPHY CRYPTOGRAPHY CRYPTOGRAPHY CRYPTOGRAPHY ISN'T JUST ABOUT HIDING MESSAGES; IT'S ABOUT UNLOCKING SECRETS AND SOLVING PUZZLES. WITH PYTHON, KIDS CAN EMBARK ON THRILLING ADVENTURES IN CODEBREAKING.
  • 4. 1. CRACK THE 1. CRACK THE 1. CRACK THE CAESAR CIPHER CAESAR CIPHER CAESAR CIPHER With just a few lines of Python, kids can encrypt and decrypt messages using the ancient Caesar Cipher. It's like having their own secret code! STEP 01
  • 5. def caesar_cipher(text, shift): encrypted = ''.join(chr((ord(char) - 65 + shift) % 26 + 65) if char.isalpha() else char for char in text.upper()) return encrypted # Encrypt a message message = "SECRETMESSAGE" encrypted_message = caesar_cipher(message, 3) print("Encrypted:", encrypted_message) # Decrypt the message decrypted_message = caesar_cipher(encrypted_message, -3) print("Decrypted:", decrypted_message)
  • 6. EXPLORE THE EXPLORE THE EXPLORE THE RSA ALGORITHM RSA ALGORITHM RSA ALGORITHM Delve into modern cryptography with the RSA algorithm. In Python, kids can generate their own secure keys and encrypt messages like real-life spies! STEP 02
  • 7. from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_OAEP # Generate RSA key pair key = RSA.generate(2048) # Encrypt a message with the public key cipher = PKCS1_OAEP.new(key.publickey()) message = b"TOPSECRETMESSAGE" encrypted_message = cipher.encrypt(message) print("Encrypted:", encrypted_message) # Decrypt the message with the private key cipher = PKCS1_OAEP.new(key) decrypted_message = cipher.decrypt(encrypted_message) print("Decrypted:", decrypted_message.decode())
  • 8. UNLOCK THE FUN! UNLOCK THE FUN! UNLOCK THE FUN! Python cryptography isn't just educational; it's an adventure waiting to happen! Enroll your child today and watch them embark on a thrilling journey through the world of secret codes and hidden messages.
  • 9. Book a Free Book a Free Book a Free Trial Class Trial Class Trial Class Now Now Now www.skoolofcode.us +1 425-305-4645 learn@skoolofcode.us Redmond, Washington, USA