This suite of programs implements rc5 128 bit cipher.
Copyright (C) 2001-6 R.G.Jones, Eric Shorkey
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Email:rich@ricksoft.co.uk
- Changes
- 14th Nov 2001 r.jones
Added switch to allow any file to be used as a key file. 19th Sept 2002 r.jones
Added options to allow conversion to work with big and little endian hardware 24th Sept 2002 r.jones
Modified decoding output so additional bytes added during encryption are not printed out. Minor bug fixes. Major refactoring of code. Aug 2003 r.jones
Added option to allow xor of each block with previous block. Code speedup for little-endian machines. Added switches to allow files > 2G where the system supports it. Feb 2004 r.jones e.shorkey
Added -e option to allow key to be passed via environment variable. Added fork/exec to hide command line options during large file encryption, plus -w option to wait for child to complete. Added -v option to print version. Apr 2005 r.jones
Fixes race condition for signals. Removed compile warnings under new gcc compiler. Apr 2006 r.jones
Minor bugfix for keyfiles with end of line characters in
How to use this program.
- Compile it.
The program uses glibc, so make sure that is installed on your system. A Makefile has been created, that will allow you to build it using
make If you wish to add options, feel free to do so :-)
- Copy both the rccrypt and the rcc
program to somewhere you can run it.
Find the places you could copy it to using
echo $PATH (It is likely you will need root access for most of these.)
- Use it.
rccrypt will encrypt or decrypt the input given to it according to the rc5 Algorithm as described by RSA Laboratories.
The syntax is as follows:
rccrypt [-d] [-p] [ -r rounds] [-k key | -f file | -e env_var] [-i infile] [-o outfile] [-w]
Further help can be found using the man file. Try "man -M man rccrypt" in this directory, or copy the rccrypt.1 file to one of the directories found by typing "echo $MANPATH".
Contact regarding bugs etc at rich@ricksoft.co.uk. This email address is not often checked, so please bear with me if I don't reply immediately.
