Jump to content

Substitution cipher: Difference between revisions

m
Line 1,301:
SubstitutionCipherEncode[input_String,map_]:=StringReplace[input,map]
SubstitutionCipherDecode[input_String,map_]:=StringReplace[input,Reverse/@map]
 
str="The quick brown fox jumps over the lazy dog,who barks VERY loudly!";
encoded=SubstitutionCipherEncode[str,map]
1,111

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.