Chaocipher: Difference between revisions

m
→‎{{header|Nim}}: Add subheader
(→‎{{header|Nim}}: Variant using more stdlib functions)
m (→‎{{header|Nim}}: Add subheader)
Line 1,776:
The recovered plaintext is: WELLDONEISBETTERTHANWELLSAID
</pre>
===Another implementation===
The same algorithm using more functions from the stdlib:
Using functions from the stdlib instead of manual array manipulations:
<lang nim>import std/[algorithm, strutils]