Hotto Engineering

  • Increase font size
  • Default font size
  • Decrease font size

Cipher


Download Cipher.zip (33 KB) for Windows

Description, Help & About:

Program: cipher.exe
Author: Stephan Hotto
Version: v1.0 / 09.04.06 (Germany / Wuppertal)


Chapter:

1 Description
2 How to use Cipher
3 Cipher License
4 Mersennen Twister License


1 Description:
Cipher is a very simple but fast encryption program to secure especially huge amount of data.
It bases on the pseudo random generator "Mersenne Twister" developed in 1996/1997 by Makoto Matsumoto and Takuji Nishimura. It is proved that the period of that generator is 2^19937-1 and a 623-dimensional equidistribution property is assured.

Nevertheless, please keep in mind that this random generator has been developed for Monte-Carlo simulations and is not necessarly secure for encryption applications like Cipher.

To initialze the random generator you are ask to provide at least a 16 sign pass phrase where you should use at least small and capital letters. If somebody starts a brute force attack then he would need in worst case around 2.86x10^27 tries.

For the reason that Cipher simply uses an XOR operation to generate the encrypted file out of the original file and the pseudo random sequence, it is not recommended to use the same pass phrase for two different files you want to encode. In such a case an attack can be for example an XOR between the two encrypted files which could probably compromise parts of the pseudo random sequence.

2 How to use Cipher:
Cipher is a command line tool. Just start it without any parameter to get the syntax:

Error: Missing Argument!
Syntax: cipher <Input File> <Pass Phrase>
Example: cipher "Test 1.doc" "Test Pass Phrase"


Cipher does not touches the original file but it creates an encrypted copy with the ending .cph
For the reason that the program uses an XOR operation for encryption the decryption of a file works exactly in the same way as the encryption.
Please keep in mind that for each encryption/decryption step Cipher simply adds ".cph" to the file.

3 Cipher License:
Copyright (c) 1995-2006 by Stephan Hotto. All rights reserved.

This Software is provided "as-is", without any express or implied warranty.
In no event will the author be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software except for commercial use.
The program is provided without license fee.

4 Mersennen Twister License:
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, all rights reserved.

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. The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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.