head	1.1;
access;
symbols
	pkgsrc-2026Q3:1.1.0.2
	pkgsrc-2026Q3-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2026.07.24.13.59.29;	author wen;	state Exp;
branches;
next	;
commitid	xPz3xs65xbtjCUOG;


desc
@@


1.1
log
@Import Crypt::URandom::Token-0.005 as p5-Crypt-URandom-Token.

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.
@
text
@# $NetBSD$

DISTNAME=	Crypt-URandom-Token-0.005
PKGNAME=	p5-${DISTNAME}
CATEGORIES=	security perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=../../authors/id/S/ST/STIGTSP/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://metacpan.org/release/Crypt-URandom
COMMENT=	Perl5 module to provide non blocking randomness
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-Crypt-URandom>=0.40:../../security/p5-Crypt-URandom
TEST_DEPENDS+=	p5-Test-Exception>=0.43:../../devel/p5-Test-Exception

USE_LANGUAGES=	c
PERL5_PACKLIST=	auto/Crypt/URandom/Token/.packlist

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
@
