Implementing Affine Encryption in Python

# Introduction In this challenge, we will implement the Affine encryption algorithm. The Affine cipher is a 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 based on a mathematical formula. The objective is to complete the implementation of the `affine_encryption(text)` function in the `affine.py` file, which takes a piece of text as input, encrypts it using the Affine cipher, and returns the ciphertext.

|
60 : 00

Click the virtual machine below to start practicing