GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UUID::Random::Patch::UseMRS(3) User Contributed Perl Documentation UUID::Random::Patch::UseMRS(3)

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

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

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

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.

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

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

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.

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.

perlancar <perlancar@cpan.org>

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.

2021-01-24 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.