Implementing Affine Encryption in Python

# Introduction In this project, you will learn how to implement the Affine Encryption algorithm in Python. The Affine Cipher is a type of substitution cipher that combines the characteristics of the shift cipher and the multiplier cipher. It uses a cryptographic function to encrypt one letter per letter, providing a simple yet effective way to encrypt and decrypt text. ## 👀 Preview ```zsh Sample 1: welcome - > oclsaqc Sample 2: welcome - > oclsaqc Sample 3: Qrwe - > Qroc Sample 4: None - > None ``` ## 🎯 Tasks In this project, you will learn: - How to implement the affine encryption function in Python - How to test the affine encryption function with sample inputs - How to encrypt user input using the affine encryption function ## 🏆 Achievements After completing this project, you will be able to: - Understand the basic principles of the Affine Cipher - Implement the affine encryption algorithm in Python - Encrypt and decrypt text using the affine encryption function - Test the affine encryption function with various inputs

|60 : 00

Click the virtual machine below to start practicing