security/p5-Crypt-URandom-Token 0.005 NetBSD
Perl5 module to provide non blocking randomness
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
4d47047f9d- License
- gnu-gpl-v2 OR artistic
- Categories
- security, perl5
- Package size
- 6.3 KiB, 7.4 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | security/p5-Crypt-URandom-Token | 0.005 |
| FreeBSD | security/p5-Crypt-URandom-Token | 0.005 |
| HardenedBSD | security/p5-Crypt-URandom-Token | 0.005 |
| GhostBSD | security/p5-Crypt-URandom-Token | 0.005 |
Install
Binary package:
pkgin install p5-Crypt-URandom-Token
From pkgsrc:
cd /usr/pkgsrc/security/p5-Crypt-URandom-Token && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.005 |
| NetBSD 10.1 aarch64 | - |
| SmartOS / illumos x86_64 | 0.005 |
| macOS 15 arm64 | 0.005 |