Mersenne Twister in PASCAL
made translation of MT generator
Object Pascal code (Delphi).
- MT for Borland Delphi 4.0/5.0 with cryptographical conversion
Andrew N. Driazgov :
(a slightly improved version (2000/7/28), just put here 2002/Jan because
of Matsumoto's laziness).
"I want to offer you a new realization of Mersenne Twister random
number generator for Borland Delphi 4.0/5.0. Most of the code
written in assember and optimized for speed. In contrast to
Shin-ichi Tsuruta's implementation of MT my uses the minimum of
memory (but may be lose slightly in performance).
It supports security by using of CAST-256 encryption algorithm during
initialization and SHA-1 function for one-side transformation of
output sequence of the random number generator.
The attached archive contains the main unit (MT.pas) and small
test project (MT_Test.dpr)."
wrote a unit in Delphi, providing programmers with purging
tools: objects which can be used to purge information in a way that
it will be erased without posibillity of reconstruction. One of the
purging methods used (Schneier's method).
Here is a .zip file.
wrote a Derphi 5 version of 98/04/09 version of MT.
Here is the code.
A PASCAL implimentation
of MT19937ar (new initialization, 2002/1/26)
for DELPHI4-6 written by
- Alex Vergara Gil kindly wrote a Delphi or FreePascal version of
Mersenne Twister. Hire is his code.
Return to Versions of MT