[fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Dec 9 09:47:15 CET 2011


On 9 December 2011 10:42, Felipe Monteiro de Carvalho  wrote:
>
> It is specifically written in the Delphi documentation that Random
> should not be utilized for encryption...

Delphi documentation mentions a lot of things you mustn't do... Does
that stop anybody. ;-)
Like I said, I didn't write that code, and I don't specialise in
encryption algorithms. But Florian might be right, the RandSeed
assignment might have been added due to the bad random generator of
Delphi - hopefully the original author of the code can shed some
light.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net



More information about the fpc-pascal mailing list