Skip to content

rbnx/UUID-Random-Secure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

UUID::Random::Secure - Cryptographically-secure random UUID generator

VERSION

version 0.01

SYNOPSIS

use UUID::Random::Secure qw(generate_uuid);
use feature qw(say);

say generate_uuid();
say UUID::Random::Secure->generate();
say UUID::Random::Secure->new->generate();

DESCRIPTION

UUID::Random::Secure generates cryptographically-secure UUID strings. It tries to use one of the following pseudo-random number generators:

  • Crypt::PRNG
  • Crypt::OpenSSL::Random
  • Bytes::Random::Secure
  • Net::SSLeay
  • Crypt::Random
  • Math::Random::Secure

If none of these modules can be loaded or are already loaded Perl’s rand will be used as an unsecure fallback.

INSTALLATION

To install this module, run the following commands:

perl Build.PL
./Build
./Build test
./Build install

AUTHOR

Ruben Navarro <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2016 Ruben Navarro.

This program is free software; you can redistribute it and/or modify it
under the terms of the the Artistic License (2.0). 

About

Cryptographically-secure random UUID generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages