The Affine cipher uses a mathematical formula to encrypt, such as (from Wikipedia):
Try an example of "affine cipher", a = 5, b = 8: Try which should give "ihhwvc swfrcp". See the Wiki page for this example (here).
The results are then:
Encrypted
Decrypted
Try an example
"affine cipher" with 5 and 8 should give ihhwvc swfrcp. Affine
"test123" with 6 and 9 should give thntNTZ. Affine