Challenges
Affine substitution
Cryptography
Medium
Affine cipher and frequency analysis
Solves: 7
Affine substitution
Author: CyberSamSU
Points
45
The text in shifr.txt is encrypted with an affine formula for each byte: C = (a·P + b) mod 256, where a is odd (invertible). There is a flag inside the text.
Find a and b, and decrypt the text. Format: BAYROQ{...}.
Attached files
shifr.txt
Log in to download
To submit a flag, log in.