OS4 DepotLogo by Liksmaskaren 
(anonymous IP:,2193) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1005)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4366

Full index file
Recent index file



Support the site

 Readme for:  Utility » Misc » deslike.lha


Description: DES-like encryption
Download: deslike.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 24kb
Version: 0.2
Date: 17 Dec 2007
Author: David Ashley, AmigaOS 4.0 compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Category: utility/misc
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 3276
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 320  (Current version)
320  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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

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

deslike's home page is

Copyright © 2004-2024 by Björn Hagström All Rights Reserved