NAME

Math::BigSimple

VERSION

Version number is 1.0(this is the first BigSimple version). It isn't enough tested by other people but my own tests showed such a good stability...

It was written 11.11.2004.

DESCRIPTION

The Math::BigSimple module can generate big simple numbers; it's very usefull for cryptographic programs which follow the open key principles(like RSA, IDEA, PGP and others). It's interface is VERY easy to use and it works enough fast even for the real-time applications.

SYNTAX

use BigSimple;
$bs = BigSimple -> new(
	Length => 8,
	Checks => 5
);
print $bs -> make();

FUNCTIONS

new(%params)

This function constructs the simple numbers generator with special parameters. The easiest form of usage is

$bs = new BigSimple(Length => $length);

when maximum key length is set to $length and every number should be tested 4 times. You also may change it using the 'Checks' parameter, like in the example below:

$bs = new BigSimple(
	Length => $length,
	Checks => 2 
);

That should work faster twice.

And the last optional parameter, 'Random', when it's value is a reference to function which returns a random number, could change internal scheme of receiving numbers for tests.

make

Return a big simple number.

KNOWN BUGS

The main and the only 'feauture' that is good to be fixed is that this module can't garrantee that the length of the generated number is exactly required length: it may be shorter. But for the most of the tasks it isn't a problem...

And the process of generating numbers longer then 15 decimal symbols lasts MUCH longer with each next char.

AUTHOR

Here is a pure information about the author of this module:

Edward Chernenko <specpc@yandex.ru> - the professional PERL programmer.
Lives in the Russian Federation, Obninsk city.
Birthday date: 19.08.1989.

For more info you may visit http://www.aportal.org/ website(warning: remember that this is available for russian-speaking persons only ;-) - and it's absolutely clear why).

COPYRIGHT

Copyright (C)Edward Chernenko. This program may be used with the same license as the perl Artistic. All right reserved.

!!!: This algorithm was taken from the Hasanov's family
!!!: website(www.hasanov.ru).

LOOK ALSO

Crypt::RSA - the open key cryptographic module.

There is(IMPORTANT FOR RUSSIAN_SPEAKING PERSONS!!) a russian documentation on my offical website.