Last update: Mon 01/29/2001 12:17 GMT+2
 


TABLE OF CONTENTS




LINKS
Counterpane Homepage
Cryptography
General resources list
Freshmeat
Linux official site
Linux's kernel official site




SCAIN is a simple cryptographic algorithm that generates different output with the same input and the same password. It uses pass phrases and keys of 128 bits; the idea is to hide the key in the cipher based on the password.


NEWS
Mon 01/29/2001 12:12 GMT+2 - libscain v3.0 is pretty ready, the debug step has started, I'm also writing a GTK version of the scain utility. In this version I've impleted a 1/2/3 way bit trasposition, documentation will explain how it works, this version doesn't implement key hiding yet, I'm studying how implement it without memory allocation/reallocation.
See the DOWNLOAD section to download a development version of the library.

Tue 01/23/2000 11:14 GMT+2 - I've had no time to work the version 3.0, only few important bugs remains to be fixed, I think that at max in a month it will be out.

Thu 09/28/2000 13:30 GMT+2 - I'm working on libscain 3.0 alpha1, the key generation has been totally changed, will be possible to have keys of an arbitrary length, bit trasposition is finally working and I removed all the malloc/calloc/realloc/free from the code, making it even faster and reliable.

Sun 04/14/2000 15:50 GMT+1 - libscain v2.0 alpha1 released, it uses as number generator the strandom library and as seed for strandom characters from /dev/random, there's a bug that permits a correct encryption/decryption only with 256bits keys. Use of 2048bits keys makes the library crash, however the encryption is badly performed (problems in bits trasposition). If you want to use this library, use only the 256bits encryption.

Mon 03/13/2000 01:10 GMT+1 - working on version 2.0 (final) of libscain: 128, 256, 512, 1024, 2048 keys now fully supported; key generation and encryption are much faster; the IV used in the encryption is no more hardcoded but generated XORing the NOT of every char of the pass phrase. I'm experiencing some problem generating the noise needed in the key generation, the Linux /dev/random seems to be bugged, if I overload it (many open()s and read()s in few time) I receive a premature EOF for some minutes, when it's no more tired it starts to work properly again, so I have to find a new random number generator. However libscain-2.0 alpha is available to download, I'll soon release the 2.0 final.

Sun 03/12/2000 23:07 GMT+1 - libscain v1.4 released, now it's possible to encrypt/decrypt using keys of 128, 256, 512, 1024, 2048 bits (at the moment, because of a bug, only 2048bits key are accepted).


TODO

  • Key hiding in the cipher based on the password
  • Bit trasposition on blocks of size greater than 64bits



WARNING

If you encrypted something with an old version of libscain and you are no more able to decrypt it, download the libscain version you used to encrypt or check the compatibility table.



DOWNLOAD


LIST OF COMPATIBILITIES

Check this table if you want to decrypt a file encrypted with a different version of the library.
v1.4 v1.3
v2.0a v2.0a1



AUTHOR


OTHER PROJECTS


SCAIN is a Copyrigth (c)2000-2001 by Bruno Patrizio
The software is distributed under the GNU General Public License