The ISAAC cipher: Difference between revisions
m
Corrected typos.
m (→{{header|Wren}}: Wren-trait -> Wren-iterate) |
m (Corrected typos.) |
||
Line 3,557:
{{trans|Pascal}}
We choose the translate the Pascal version as the it’s easier to translate to Nim from Pascal rather than from C.
This is not an exact
We
Note that the "mix" procedure could possibly be transformed in a template or be marked as "inline" (in the C version, it is a "define"). But as we are not in a procedure whose performance is critical, expanding the code rather than calling a procedure is not very useful.
<syntaxhighlight lang="nim">import strutils
|