Przemyslaw Czerpak
864d74c6a5
2009-10-16 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
...
* harbour/src/rtl/Makefile
+ harbour/src/rtl/hbbfish.c
* harbour/include/Makefile
+ harbour/include/hbbfish.h
+ added support for BlowFish encryption at C level:
hb_blowfishInit(), hb_blowfishEncrypt(), hb_blowfishDecrypt()
This code implements BlowFish algorithm designed by Bruce Schneier.
The description of BlowFish algorithm can be found at:
http://www.schneier.com/paper-blowfish-fse.html
This code uses for initial s-boxes and p-array values PI hex digits
taken from tables public at:
http://www.schneier.com/blowfish.html
which can be downloaded from:
http://www.schneier.com/code/constants.txt
This should be quite fast implementation (probably much faster
then reference one) but please remember that in BlowFish algorithm
startup initialization of encryption tables is intentionally
designed to be expensive to strongly reduce the efficiency of
brute force attacks so call hb_blowfishInit() once for each
new password and then reuse initialized encryption tables in
hb_blowfishEncrypt() and hb_blowfishDecrypt().
I'll add .prg functions later.
TODO: add some asymmetric key encryption.
2009-10-16 18:02:57 +00:00
..
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-14 18:10:33 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-11 18:49:55 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-15 13:56:40 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-15 15:17:50 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-16 18:02:57 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-12 22:22:37 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-11 17:55:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-16 18:02:57 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-15 13:56:40 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00
2009-10-09 14:54:14 +00:00