I have some code that in mathematica that decrypts a RSA cryptation. I would like to make a function RSACrack[n,e, crypto] so that I sort of just bake in the code into that function and get a return value from it. How do I do this with mathematica? I attached the code I would like to "abstract(?)" into a simple function line.
Please let me know if it's unclear what I seek! Thanks in advance.
Attachments: