Completed affine cipher