Bacon cipher: Difference between revisions

Content added Content deleted
Line 1,285: Line 1,285:


{{FormulaeEntry|page=https://formulae.org/?script=examples/Bacon%27s_cipher}}
{{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}}==
=={{header|Go}}==