Bifid cipher: Difference between revisions

Content added Content deleted
(julia example)
Line 92: Line 92:
=={{header|Julia}}==
=={{header|Julia}}==
Using the Raku example's test messages.
Using the Raku example's test messages.
<lang ruby>polybius(text) = Char.(reshape(Int.(collect(text)), isqrt(length(text)), :)')
<lang julia>polybius(text) = Char.(reshape(Int.(collect(text)), isqrt(length(text)), :)')


function encrypt(message, poly)
function encrypt(message, poly)