logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Crypt::SysRandom - Perl interface to system randomness

Author

       Leon Timmermans <fawaka@gmail.com>

Backends

       The current backends are tried in order:

       •   Crypt::SysRandom::XS

       •   "RtlGenRandom" using Win32::API

       •   "/dev/urandom"

Description

       This module uses whatever interface is available to procure cryptographically random data from the
       system.

Functions

random_bytes($count)
       This will fetch a string of $count random bytes containing cryptographically secure random date.

Name

       Crypt::SysRandom - Perl interface to system randomness

Synopsis

        use Crypt::SysRandom 'random_bytes';
        my $random = random_bytes(16);

Version

       version 0.007

See Also