security/p5-Crypt-URandom-Token - The NetBSD Packages Collection

Perl5 module to provide non blocking randomness

This module provides a secure way to generate a random token for passwords
and similar using Crypt::URandom as the source of random bits.

By default, it generates a 44 character alphanumeric token with more than
256 bits of entropy. A custom alphabet with between 2 and 256 elements can
be provided.

Modulo reduction and rejection sampling is used to prevent modulus bias. Keep
in mind that bias will be introduced if duplicate elements are provided in
the alphabet.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

security/p5-Crypt-URandom lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.