NAME

OpenSSL::Rand -- Access to OpenSSL Random functions

SYNOPSIS

        use OpenSSL::Rand;

FUNCTIONS

$randbytes = randbytes($nr)

returns $nr random bytes raw.

$randbytes_base64 = randbytes_base64($nr)

returns $nr random bytes base 64 encoded.

$randbytes_hex = randbytes_hex($nr)

returns $nr random bytes hex encoded.

SEE ALSO

OpenSSL, OpenSSL::HMAC.

AUTHOR

Stefan Traby <stefan@hello-penguin.com> http://mindterm.plan9.de/