Simple-Crypt
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Simple XOR Encryption Program
Simple Crypt a simple encryption program.
Copyright (C) 2011-2020 Nathan A. Mourey II -- All Rights Reserved.
Email  

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see .

-------------------------------------------------------------------------------

Command Line Switches:

	-v switch shows the version.
	-h shows the help.
	-p Number of times to encode the file. You will be prompted to enter a 
	   different key on each pass.
	-i input file.
	-o output file.
	-r removes the input file on exit.

To Encrypt a File:
	sc -p1 -i plaintext.txt -o cyphertext.txt

	This will encrupt the plaintext.txt file and write the encoded 
	cyphertext.txt file.  This is a single pass (-p1) and will only ask 
	for one key to encrypt the file.

To Decrypt a File:
	sc -p1 -i cyphertext.txt -o plaintext.txt
	
	In order to get the original plaintext.txt file back you need to use 
	the cyphertext file as the input and the plaintext as the out put.  
	Use the same number of passes and the same keys in the same order as 
	you did when encrypting the plaintext.txt.

WARNING:
	At this time Simple Crypt reads the entire file that is being encrypted
	into memory.  It has been tested with a 1G file on a computer with 4G 
	RAM and it worked fine but was slow.  Be sure that you have enought RAM 
	to encode a file. 

	UPDATE : As of May 18 2012:

		Simple-Crypt now uses mmap() for file I/O.  Has been tested with 
	5G and 60G files on a system with 4G RAM and 8G swap.  Runs slow as a file 
	copy is needed.

	UPDATE : May 16th 2018

		Simple-Crypt dosen't catch any signals at this time so it will
	not exit gracefully.

NOTE:
	Simple Crypt works on both binary and text files.  Open Solaris 11 should
	work fine now.  Builds on Windows with cygwin tool chain though it needs
	testing. Cygwin can be downloaded at http://www.cygwin.com/  Ran through 
	Valgrind and removed all but one memory leak.

	Also, builds on Haiku-OS (shredder 1 42211) and Open Indiana ver. 151a4 
	x86pc 64Bit.

NOTE:
	Simple Crypt echos passwords when entered. If you would like to change 
	this please feel free to fork this project and I can pull your changes.

To Build:
	
	You will need a C compiler.  I recomend GCC.  On Linux or Unix you 
	should have a C compiler installed by default.  If not check your 
	distributions documentation on how to install it. 


-------------------------------------------------------------------------------

How to build:

$ make
Be sure that you have a ~/bin and it is in your $PATH
$ make install

If you don't have a ~/bin then manualy copy it into your .local/bin by hand.

That's it.  Have Fun!!




本源码包内暂不包含可直接显示的源代码文件,请下载源码包。