Talk:The ISAAC cipher: Difference between revisions

(→‎caesar vs. xor: new section)
 
(3 intermediate revisions by 2 users not shown)
Line 35:
:::Ah good. I was going to suggest adding the fpc bin directory to your %PATH but your install seems to have done that by default. I noticed you were using the old DOS-style (Turbo Pascal) IDE to compile. While there is nothing whatever wrong with this, I'd recommend using a good programmer's text editor like [http://notepad-plus-plus.org/ Notepad++] (Windows) or [http://www.geany.org/ Geany] (Linux) for viewing and editing your code, and then just compiling on the command line with >fpc filename.pas. Simple is often best :) --[[User:BlaiseP|BlaiseP]] ([[User talk:BlaiseP|talk]]) 06:55, 24 July 2014 (UTC)
::::I'm happily using Kedit ever since I "lost" VM's Xedit and TSO's ISPF Editor. Can I ask you one or the other Pascal Question offline if some arise)? pachl .. chello.at --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 08:51, 24 July 2014 (UTC)
:::::Sure - I'll gladly help in any way I can. --[[User:BlaiseP|BlaiseP]] ([[User talk:BlaiseP|talk]]) 09:30, 24 July 2014 (UTC)
 
== caesar vs. xor ==
 
In the C implementation, we have:
 
<lang C> // Encrypt: Vernam XOR
iSeed(key,1);
strcpy(vctx, Vernam(msg));
// Encrypt: Caesar
strcpy(cctx, CaesarStr(mEncipher, msg, MOD, START));</lang>
 
In other words: the "seed" used for the caesar encryption is not they task specified key, but the task specified key as modified by use of vernam encryption.
 
This should probably be fixed. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 22:07, 8 August 2022 (UTC)
6,951

edits