An application of the kvaternarn fractional-linear form with using the standard elements of the RSA algorithm for encryption and decryption of two-dimensional images is resistant to unauthorized access to images clearly distinguished contours.