SureCrypt-CLI (command-line interface) Copyright (c)2004 Dariusz Stanislawek freezip(at)bigfoot,com SureCrypt is a file encryption program. USAGE sc keyfile e|d source destination Max keyfile size is 64 bytes. Encryption example: sc a:\my.key e d:\x\data.zip data.enc Decryption example: sc my.key d data.enc c:\tmp\data.zip NOTES Use double-quotes for file names with spaces. SureCrypt does not overwrite or delete existing files. Press Ctrl+C to abort processing, then manually delete leftover files. Password-to-keyfile is an alternative to binary keyfiles. It will not be as secure as a binary, random key, but can be memorized and easily recreated. type command: copy con my.key type password: abc1234567890 (example only :-) press Ctrl+Z and hit Enter Use a difficult, alpha-numerical (including space and special characters), case sensitive password with at least 10 and up to 64 characters. Password-to-keyfile can also be done with any text editor. The best performance is achieved when source and destination files are on physically separate drives. MULTI-FILE PROCESSING Create the following file and folder structure: sc.exe my.key TMP\ (folder for processed files) | |-file-for-encryption |-file-for-encryption |-... |-TMP\ (sub-folder for encrypted files) then type on the command-line: for %f in (tmp\*.*) do sc my.key e "%f" "tmp\%f" IMPLEMENTATION Cipher: Rc4 Key Size: max 512 bits (64 bytes) IV: 16 bytes Cipher File Structure: [plaindata CRC = 4 bytes] + [IV = 16 bytes] + [cipherdata] Source code and a fully compatible Windows-GUI version are available from: http://www.ozemail.com.au/~nulifetv/freezip/freeware/ http://freezip.cjb.net/freeware/ FREEWARE SOFTWARE Free for private or business use. Free for distribution and publication, but in unmodified package. It can be freely bundled with any product or application. Individual permissions are not required and will not be given. DISCLAIMER ========================================================================= THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. =========================================================================