The ISAAC cipher: Difference between revisions

m
added a ;Task: (bold) header, added other whitespace to the task's preamble.
(Add The ISAAC Cipher - Common Lisp)
m (added a ;Task: (bold) header, added other whitespace to the task's preamble.)
Line 7:
ISAAC thus deserves a lot more attention than it has hitherto received and it would be salutary to see it more universally implemented.
 
 
Your task, should you choose to accept it, is to translate ISAAC's reference
;Task:
Translate ISAAC's reference C or Pascal code into your language of choice.
 
The RNG should then be seeded with the string "this is my secret key" and
finally the message "a Top Secret secret" should be encrypted on that key.
Your program's output ciphertextcipher-text will be a string of hexadecimal digits.
 
Optional: Include a decryption check by re-initializing ISAAC and performing
the same encryption pass on the ciphertextcipher-text.
 
Please use the C or Pascal as a reference guide to these operations.
Line 56 ⟶ 58:
ISAAC can of course also be initialized with a single 32-bit unsigned integer in the manner of traditional RNGs, and indeed used as such for research and gaming purposes.
But building a strong and simple ISAAC-based stream cipher - replacing the irreparably broken RC4 - is our goal here: ISAAC's intended purpose.
<br><br>
 
 
=={{header|C}}==