security/lua-arc4random 1.4.1nb1 NetBSD
Lua wrapper for arc4random(3)
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- isc
- Categories
- security, lua
- Package size
- 4.6 KiB, 8.9 KiB installed
Description
The arc4random family of functions provides a cryptographic pseudorandom number generator automatically seeded from the system entropy pool and safe to use from multiple threads. arc4random is designed to prevent an adversary from guessing outputs, unlike rand(3) and random(3), and is faster and more convenient than reading from /dev/urandom directly.
This is a Lua wrapper for arc4random(3), portable to systems that do and don't have it natively in libc. On systems where arc4random may be insecure it provides a replacement.
Install
Binary package:
pkgin install lua51-arc4random
From pkgsrc:
cd /usr/pkgsrc/security/lua-arc4random && 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 | 1.4.1nb1 |
| NetBSD 10.1 aarch64 | 1.4.1nb1 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | 1.4.1nb1 |
Dependencies
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
lua52-arc4random-1.4.1nb1,lua53-arc4random-1.4.1nb1,lua54-arc4random-1.4.1nb1,lua55-arc4random-1.4.1nb1