From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME
UUID::Tiny::Patch::UseMRS - Make UUID::Tiny use Math::Random::Secure's
rand()
VERSION
This document describes version 0.002 of UUID::Tiny::Patch::UseMRS (from
Perl distribution UUID-Tiny-Patch-UseMRS), released on 2021-01-24.
SYNOPSIS
use UUID::Tiny::Patch::UseMRS;
say UUID::Tiny::create_uuid();
DESCRIPTION
This module makes UUID::Tiny 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 3 times slower on my Dell XPS 13 laptop.
After you "use" this module, use UUID::Tiny as usual.
HOMEPAGE
Please visit the project's homepage at
SOURCE
Source repository is at
BUGS
Please report any bugs or feature requests on the bugtracker website
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::Tiny
Other ways to generate random (v4) UUIDs: Crypt::Misc,
UUID::Random::Secure, UUID::Random::Patch::UseMRS and UUID::Random.
Acme::CPANModules::UUID contains reviews and benchmarks of these.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021, 2020 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.