Very fast and simple program, allowing the use of a real and powerful cryptography algorithm on 89 and 92+, using a 80 bits key.
Release 1.11, 05/20/2001.
Copyright 2001 by François LEIBER.
// Cryptography Algorithm PC1 ( Pukall Cipher 1 )
// (c) Alexandre PUKALL 1991
// Utilisation and modifications are free if the name of the author
// is included in the documentation.
You can place pc1() and the rest in any folder, and I strongly suggest you archive everything.
How to use PC1:
You only have to type:
pc1(variable,key)
variable is a string containing the name of the variable to be encrypted/decrypted, key is another string, 10 bytes long or less, containing the key that will be used by the algorithm.
Ex : pc1("doors","FL81@paris")
The program does nothing if there is an error (one of the argument is wrong, or the variable does not exist, or a memory error occurs). Otherwise, it detects automatically if the variable is already crypted or no:
I've added all possible protections, the program should never crash.
The program's speed is about 2.5 KB/sec in coding-decoding.
PC1 automatically re-archives the variable after its coding-decoding.
v1.1 - 04/01/01 - 1 169 bytes
v1.0 - 02/20/01 - 1 237 bytes
Info:
I know my translation of this text is far from good, but I've already made quite an effort to do it, so be comprehensive, I'm French :-)
For any suggestion, commentary or bug (that would be quite surprising;-) ), you can e-mail me at:
francois.leiber@laposte.net
All the ideas are welcome!
All my program updates are first on my (french) webpage:
http://leiber.free.fr
Now that I've begun C programming, I think I'm going to make many other programs, but unfortunately I lack time (studies are becoming quite invasive).
Anyway, I encourage warmly all those who would like to start C programming but who hesitate, and that's why my source code is given in this package..