Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Encipher a string using the Chaocipher
ResourceFunction["ChaoCipher"][string,{αp,αp}] enciphers string using the plain text alphabet αp and the cipher alphabet αc. |
Encipher a piece of text using unshuffled plain and cipher alphabets:
In[1]:= | ![]() |
Out[1]= | ![]() |
Encode a "constant" string:
In[2]:= | ![]() |
Out[2]= | ![]() |
Use random plain and cipher alphabets:
In[3]:= | ![]() |
Out[3]= | ![]() |
The resource function ChaoDecipher can be used to reverse the encryption. First encode a piece of string with ChaoCipher:
In[4]:= | ![]() |
Out[4]= | ![]() |
Now we can decipher it with the resource function ChaoDecipher:
In[5]:= | ![]() |
Out[5]= | ![]() |
Letters with diacritics are ignored:
In[6]:= | ![]() |
Out[6]= | ![]() |
Use RemoveDiacritics to remove the diacritics:
In[7]:= | ![]() |
Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License