If given a large set of examples of cyphertext and corresponding plaintext, could AI be trained to decrypt a cyphertext as the examples provided?, and if so, are there any examples online demonstrating this?
For example, lets imagine out cypher is a simple 7-shift ceaser shift, and we have a list of thousands of examples like so
olssv,hello
ifl,bye
dvysk,world
Could a neural network be trained on these examples, and then shown a new cyphertext, not in the training set, such as "isbl" and correctly infer the result as "blue"?