Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Encrypt with Tupper’s self-referential formula
ResourceFunction["TupperCipher"][str,p] encrypts the string str with the prime p as the key. | |
ResourceFunction["TupperCipher"][img,p] encrypts the image img with the prime p as the key. |
Encrypt a string as input:
| In[1]:= |
| Out[1]= |
Test decoding via the resource function TupperDecipher:
| In[2]:= |
| Out[2]= | ![]() |
Define an image:
| In[3]:= | ![]() |
| Out[3]= | ![]() |
Encrypt it:
| In[4]:= |
| Out[4]= |
Use the resource function TupperDecipher to test decoding:
| In[5]:= |
| Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License