Revision: 12765
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12765&view=rev
Author: druzus
Date: 2009-10-23 19:01:51 +0000 (Fri, 23 Oct 2009)
Log Message:
-----------
2009-10-23 21:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbbffnc.c
+ added support for 3-rd parameter <lRaw> in hb_blowfishEncrypt() and
hb_blowfishDecrypt() functions. It disables ANSI X.923 padding but
encode passed string in 8bytes blocks. If last block in string is
smaller then it's padded to 8 bytes using chr(0) and information
about original string size is not attached to encrypted data.
During decoding only strings which are well padded (N*8 bytes) are
accepted and <lRaw> := .T. disables restoring original string size
encoded in encrypted string using ANSI X.923 standard so the size
of decrypted string is the same as original one.
Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/src/rtl/hbbffnc.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour