NAME

UUID::Random::Patch::UseMRS - Make UUID::Random use Math::Random::Secure's rand()

VERSION

This document describes version 0.030 of UUID::Random::Patch::UseMRS (from Perl distribution UUID-Random-Patch-UseMRS), released on 2021-01-24.

SYNOPSIS

 use UUID::Random::Patch::UseMRS;
 say UUID::Random::generate();

DESCRIPTION

This module makes UUID::Random use rand() from Math::Random::Secure instead of the default rand() that comes with Perl. It is useful for creating cryptographically secure UUID's. On the other hand, as a note, this makes generate() around 20 times slower on my PC.

After you use this module, use UUID::Random as usual.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/UUID-Random-Patch-UseMRS.

SOURCE

Source repository is at https://github.com/perlancar/perl-UUID-Random-Patch-UseMRS.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-UUID-Random-Patch-UseMRS/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Math::Random::Secure, UUID::Random.

Other ways to generate cryptographically secure random (v4) UUIDs: Crypt::Misc, UUID::Random::Secure, UUID::Tiny::Patch::UseMRS and UUID::Tiny. Acme::CPANModules::UUID contains reviews and benchmarks of these.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021, 2012 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.