Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Implementing Caesar Cipher | Information Encryption
Cyber Security Fundamentals
course content

Course Content

Cyber Security Fundamentals

Cyber Security Fundamentals

1. Introduction to Cyber Security
2. Web Cyber Security
3. Information Encryption

bookChallenge: Implementing Caesar Cipher

Task

Now, we will implement a simple function that provides data encryption using Caesar cipher.
Your task is to:

  1. Check if the character is alphabetic inside the for loop of the caesar_cipher() function. Use the .isalpha() method to do it.
  2. Set the value of the key variable equal to 3.
  3. Call the caesar_cipher() and specify the required arguments (plaintext and key).

Note

To provide decryption, we can use the same function but with other arguments: caesar_cipher(encrypted_text, neg_key) where neg_key = - key.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Implementing Caesar Cipher

Task

Now, we will implement a simple function that provides data encryption using Caesar cipher.
Your task is to:

  1. Check if the character is alphabetic inside the for loop of the caesar_cipher() function. Use the .isalpha() method to do it.
  2. Set the value of the key variable equal to 3.
  3. Call the caesar_cipher() and specify the required arguments (plaintext and key).

Note

To provide decryption, we can use the same function but with other arguments: caesar_cipher(encrypted_text, neg_key) where neg_key = - key.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Implementing Caesar Cipher

Task

Now, we will implement a simple function that provides data encryption using Caesar cipher.
Your task is to:

  1. Check if the character is alphabetic inside the for loop of the caesar_cipher() function. Use the .isalpha() method to do it.
  2. Set the value of the key variable equal to 3.
  3. Call the caesar_cipher() and specify the required arguments (plaintext and key).

Note

To provide decryption, we can use the same function but with other arguments: caesar_cipher(encrypted_text, neg_key) where neg_key = - key.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task

Now, we will implement a simple function that provides data encryption using Caesar cipher.
Your task is to:

  1. Check if the character is alphabetic inside the for loop of the caesar_cipher() function. Use the .isalpha() method to do it.
  2. Set the value of the key variable equal to 3.
  3. Call the caesar_cipher() and specify the required arguments (plaintext and key).

Note

To provide decryption, we can use the same function but with other arguments: caesar_cipher(encrypted_text, neg_key) where neg_key = - key.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt