[DUG] Lockbox Update
Todd Martin
todd.martin.nz at gmail.com
Fri Jul 20 13:29:53 NZST 2018
Hi everyone
It's good to see Embarcadero possibly breathing some life back into Delphi
with the release of its free Community edition.
In case anyone is interested; some months ago I made some changes to
Lockbox2 which were finally merged into Github this week.
https://github.com/jarto/lockbox2
I hope the updated code will soon make its way to Sourceforge as well.
Lockbox2 was originally a pre-unicode solution which was later modified
with DoSomethingA(ansistring) and DoSomethingW(widestring) methods in a
similar fashion to the Windows API. I reverted the code to the original
DoSomething(string) methods by utilising rawbytestring parameters and UTF8
internally, so that it now works across all versions of Delphi pre/post
unicode (back to Delphi5) and Lazarus/FPC. The only thing lacking now for
all modern uses is a SHA-2 hashing algorithm.
So if you're a fan of Lockbox check it out!
Note: Lockbox3 also exists, but it only supports Delphi >= 2010 in a manner
which is not backwards compatible with pre-unicode Delphi. It also does not
compile with Lazarus/FPC.
Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20180720/2b77dad3/attachment.html
More information about the Delphi
mailing list