AminetAminet
Search:
84708 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/crypt/deslike-mos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:DES-like encryption
Author:David Ashley, Morphos port by Fabrizio "Lanch" Bartoloni
Uploader:lanch tiscali it (Fabrizio Bartoloni)
Type:util/crypt
Version:0.2
Architecture:ppc-morphos
Date:2007-12-16
Download:http://aminet.net/util/crypt/deslike-mos.lha - View contents
Readme:http://aminet.net/util/crypt/deslike-mos.readme
Downloads:4545

deslike generates code for a pair of matching encryption routines,

encrypt(unsigned char dest[],unsigned char source[],unsigned char key[]);
decrypt(unsigned char dest[],unsigned char source[],unsigned char key[]);

based on parameters passed on the command line. The functions are very
similiar to the DES algorithm, only the various tables and choices for
bits to use are generated randomly based on a random seed.

The routines are complementary, meaning each is the reverse of the other.

Use: deslike [-d|-e] <key bits> <data bits> <# of windings> <salt>

-d = suppress encrypt code output
-e = suppress decrypt code output

<key bits> = # of bits for the key (DES has 56)
<data bits> = # of bits of data for each piece to encrypt/decrypt. DES has 64.
<# of windings> = # of steps for flipping left and right halves of the data
                  and xoring in the hash based on half of the data and the
                  key. (DES has 16).
<salt> = random number seed.

Increasing windings will increase security (I think) but slow the routines
down and make them bigger. Increasing key bits will increase security (I think)
and make it harder to crack.

deslike is released under the terms of the GPL license. The source code
deslike generates can be used freely, although credits might be nice.
If you distribute deslike you must also include this README file and deslike's
source.

No guarantees are made as to suitability for this program or the code
generated for any specific purpose. Use it at your own risk!

deslike was written by
David Ashley
dave at xdr.com
http://www.xdr.com/dash

deslike's home page is
http://www.linuxmotors.com/deslike


Contents of util/crypt/deslike-mos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4709   12128  38.8% -lh5- 35f7 Dec 16 19:00 deslike02/deslike
[generic]                  910    1879  48.4% -lh5- 7c08 Dec 16 19:03 deslike02/deslike-mos.readme
[generic]                 1738    4562  38.1% -lh5- 44b5 Apr 16  2002 deslike02/deslike.c
[generic]                   19      19 100.0% -lh0- c565 Jan 25  2000 deslike02/Makefile
[generic]                  794    1655  48.0% -lh5- 3417 Apr 16  2002 deslike02/README
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    8170   20243  40.4%            Dec 16 21:12

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>