Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Bytes::Random::Secure 0.03

    Download button

    No screenshots available
    Downloads: 79  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David J. Oswald | More programs
    Perl Artistic License / FREE
    September 19th, 2012, 07:56 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Bytes::Random::Secure description

    Perl extension to generate cryptographically-secure random bytes

    Bytes::Random::Secure is a Perl module that provides three functions that can be used anytime you need a string (or MIME Base64 representation, or hex-digits representation) of a specific number of random bytes.

    This module can be a drop-in replacement for Bytes::Random, with the primary enhancement of using a much higher quality random number generator to create the random data. The random number generator comes from Math::Random::Secure, and is suitable for cryptographic purposes, including the generation of random salt or random secrets.

    In addition to providing random_bytes(), this module also provides two functions not found in Bytes::Random: random_bytes_base64(), and random_bytes_hex.

    SYNOPSIS

     use Bytes::Random::Secure qw(
     random_bytes random_bytes_base64 random_bytes_hex
     );

     my $bytes = random_bytes(32); # A string of 32 random bytes.
     
     my $bytes_as_base64 = random_bytes_base64(57);

     my $bytes_as_hex = random_bytes_hex(8);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    cryptographically-secure bytes | Perl module | Perl | cryptographically-secure | bytes

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM