Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Decrypt with Tupper’s self-referential formula
ResourceFunction["TupperDecipher"][secret,p] decrypts integer secret using prime key p. |
Decrypt Tupper’s self-referential formula:
In[1]:= | ![]() |
Out[1]= | ![]() |
Decrypt some other pattern:
In[2]:= | ![]() |
Out[2]= | ![]() |
"Column" is a positive integer used to control the number of columns in the output:
In[3]:= | ![]() |
Out[3]= | ![]() |
Here is a secret:
In[4]:= | ![]() |
The correct key gives recognizable results:
In[5]:= | ![]() |
Out[5]= | ![]() |
Some keys cannot be used to decode secret, in which case a message is issued:
In[6]:= | ![]() |
Sometimes secret can be unlocked but it is unrecognizable:
In[7]:= | ![]() |
Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License