Bacon cipher: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
 
(One intermediate revision by one other user not shown)
Line 1,285:
 
{{FormulaeEntry|page=https://formulae.org/?script=examples/Bacon%27s_cipher}}
 
'''Solution'''
 
'''Program for encoding.''' It uses the extended version of the alphabeth, which can be calculated programatically, with no table.
 
[[File:Fōrmulæ - Bacon's cipher 01.png]]
 
'''Test case for encoding'''
 
[[File:Fōrmulæ - Bacon's cipher 02.png]]
 
[[File:Fōrmulæ - Bacon's cipher 03.png]]
 
'''Program for decoding'''
 
[[File:Fōrmulæ - Bacon's cipher 04.png]]
 
'''Test case for decoding'''
 
[[File:Fōrmulæ - Bacon's cipher 05.png]]
 
[[File:Fōrmulæ - Bacon's cipher 06.png]]
 
=={{header|Go}}==
Line 3,138 ⟶ 3,160:
{{libheader|Wren-str}}
{{libheader|Wren-iterate}}
<syntaxhighlight lang="ecmascriptwren">import "./str" for Str, Char
import "./iterate" for Stepped
 
class Bacon {
9,482

edits