While tracing a nasty bug (?), I discovered the hard way that when
an Assert is done in a constructor, and it fails, then the destructor
(Destroy) is automatically called.
However, because the constructor failed, the object did not satisfy the
class invariants.
So, the destructor needs to be pess
> From: Zachary Marlow
> Subject: Re: [fpc-pascal] GRAPHICS HELP : PLEASE PLEASE
> To: FPC-Pascal users discussions
> Message-ID: <491787.41572...@web35505.mail.mud.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Well =
>
> =A0=A0=A0=A0=A0 Like How to draw a circle , I just ne
Paul Nicholls wrote:
>
> http://wiki.freepascal.org/DCPcrypt
Ah thanks, I already use the Blowfish implementation from that package,
but for some reason never thought to look in there for the SHA1
implementation. In the end I got a nice lightweight (single unit)
implementation that also passes al
David Butler wrote:
>
> Have a look at Fundamentals 4's cHash unit:
> http://sourceforge.net/projects/fundementals/
Thanks, there are some interesting code in there... Cool. :)
In the end I did some more Google'ing and found a free implementation
based on the FIPS 180-1 document. And it's all