short:    CipherSaber, RC-4/SHA-512 encryption program
author:   kal@aros-stuff.tk (Kalle Raisanen)
uploader: kal@aros-stuff.tk (Kalle Raisanen)
version:  0.7
type:     util/cli


	CipherSaber v0.7

CipherSaber encrypts files using the RC4 encryption algorithm; specifically
the CipherSaber variant of RC4, optionally hashing passphrase and IV using
SHA-512.
	For more info on the CipherSaber algorithm see the CipherSaber see the 
website @ <http://ciphersaber.gurus.com/>. 

Report any bugs to <bugs@aros-stuff.tk>.   


	Installation

Copy the file `cs' into somewhere in your path.


	Using Ciphersaber

Syntax: cs [-OPTION]... <FILE>...

Where OPTION is one or more of:

  -d, --decrypt          Decrypt file, if not specified, the file will be
                         encrypted.
  -e, --add-entropy      Add entropy. You get to type a bit, and CS gathers
                         entropy from the delays between your keystrokes. Only
                         works when encrypting.
  -i, --ignore-errors    Ignore errors.
  -o, --to-stdout        Output to standard output. Only works when decrypting.
  -p, --same-passphrase  Use same passphrase for all files.
  -s, --sha              Use the SHA-512 algorithm to hash the passphrase and
                         IV.
  -q, --quiet            Quiet mode, no error messages.
      --help             Output this message, and exit.
      --copyright        Output copyright info and exit.
      --version          Output version info and exit.

The directory `test/' holds a couple of test-files, `test.cs' and `test.sha.cs'
they are the GPL, encrypted with the password "CipherSaber" (sans quotes, of
course) -`test.sha.cs' is encrypted with the `-s' flag. A good test of
functionality is to say `cs -do test/test.cs' and `cs -dos test/test.sha.cs' -
the GPL should scroll by twice.
   

	Copyright Information
   
CipherSaber 0.7
Copyright (c) 2002-2004 Kalle Raisanen.

   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., 675 Mass Ave, Cambridge, MA 02139, USA.


SHA-512 implementation
Copyright (c) 2000-2001, Aaron D. Gifford. All rights reserved.
With some modifications 2002-2004 by Kalle Risnen.

	Redistribution and use in source and binary forms, with or without
	modification, are permitted provided that the following conditions
	are met:

   1. Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
   2. Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
   3. Neither the name of the copyright holder nor the names of contributors
      may be used to endorse or promote products derived from this software
      without specific prior written permission.

	THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
	ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
	IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
	ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
	FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
	DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
	OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
	HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
	LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
	OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
	SUCH DAMAGE.
