Program 1 - 'ncrpt'
DUE 11am Monday Feb 11, 2008
Latest changes: Tue Feb 5 16:56:26 2008: 'keyDeadD00d.ncr' had
been encrypted with the wrong key.
Now available:
- The 'ncrpt' man page (as
text, as
PDF, as
groff source). Now Version 2, released Sat
Feb 2 10:48:11 2008, with better detail about initializing ISAAC.
- The ISAAC files, changed only very slightly by Ackley to compile
under gcc -Wall -ansi -pedantic:
- the randDemo.c sample code for
using the ISAAC PRNG. REVISED VERSION 2 Sat Feb 2 10:03:36 2008!
- Sample inputs and outputs:
- sample.txt. A small file to be encrypted.
- key1.ncr. The result of encrypting
sample.txt with a key value of 1.
- keyDeadD00d.ncr. The result of
encrypting
sample.txt with a key value of 0xDEADD00D. REVISED
VERSION Tue Feb 5 16:56:26 2008! The original version of this file
was encrypted with the wrong key!
- key7FFFFFFF.ncr. The result of
encrypting
sample.txt with a key value of 0x7FFFFFFF. Note that prior
to Tue Feb 5 16:56:26 2008, this file
was called 'keyDeadD00d.ncr'.
Notes:
- Don't freak out! There's a lot to read (START NOW!) but the final
code you write can be quite small!
- Anything marked implementation-dependent in the man page is up to you the
implementor to decide what to do.
- Anything marked as [optional] in the man page is for extra
credit!
- Suggested way to get going: Read through the
man page enough to start to see what's going on, but don't let
yourself get bogged down in details anywhere. Then read through randDemo.c and get it working correctly for
you.
- Email me questions!