Basic Examples
Basic Examples
Encipher a string:
["Wolfram Language is fun"]
In[]:=
Out[]=
Scope
Scope
Space and newlines are enciphered:
["this is a\nmultiline\nsentence"]
In[]:=
Out[]=
The case is ignored:
["aA\nbB\ncC\ndD\neE\nfF"]
In[]:=
Out[]=
PigpenCipher
[{"s","a","n","d","e","r"}]
In[]:=
,
,
,
,
,
Out[]=
Applications
Applications
Encipher a secret message:
["X marks the spot!"]
In[]:=
Out[]=
Properties and Relations
Properties and Relations
Letters with diacritics are converted using :
["piñata"]
In[]:=
Out[]=
PigpenCipher
Head
["Wolfram"]
In[]:=
Graphics
Out[]=
Possible Issues
Possible Issues
Numbers, characters from other alphabets, and punctuations are ignored:
["this, 1337, παντα ρει."]
In[]:=
Out[]=
Neat Examples
Neat Examples
Separate pigpen ciphers do not make any sense:
str1=" h s i u t a t s ";str2="T i s j s e t";
[str1],
[str2]
In[]:=
,
Out[]=
Overlapping the objects interleaves the characters and reveals the message:
Show
[str1],
[str2]
In[]:=
Out[]=
Make a drawing using :
PigpenCipher
[" h h \n i g i g\n i b g\n c a\n c a\n c a\n c a\n b"]
In[]:=
Out[]=