Crypt:...actory(3pm)
π Crypt::Random::Source::Factory β the perl manual, but make it cute π
okay bestie, so this is the Crypt::Random::Source::Factory page from the User Contributed Perl Documentation, and honestly? it's giving "guy who loads random sources for you so you don't have to". version 0.14, no cap. π
β¨ NAME β¨
Crypt::Random::Source::Factory β Load and instantiate sources of random data π²β¨
πΈ VERSION πΈ
version 0.14 π
π¦ SYNOPSIS π¦
use Crypt::Random::Source::Factory;
my $f = Crypt::Random::Source::Factory->new;
my $strong = $f->get_strong;
my $weak = $f->get_weak;
my $any = $f->get;
like literally five lines and you're serving random data, periodt. π
π DESCRIPTION π
This class is a loading-and-instantiation factory for Crypt::Random::Source objects. it makes the sources. it hands them to you. that's the whole vibe. π«Ά
okay so here's the tea β β if $ENV{CRYPT_RANDOM_NOT_PLUGGABLE} is set, then only a preset list of sources will be tried. that's it, that's the list, no extras.
Otherwise? Module::Find gets called up to locate any installed sources, and it uses the first available one. first come, first served, main character energy only. πββοΈ
π METHODS π
π get %args
Instantiate any random source, passing %args to the constructor. π
The type argument can be weak, strong or any. pick your fighter. π
π get_weak %args
π get_strong %args
Instantiate a new weak or strong random source. weak one, strong one, both iconic, both valid. β¨
π SUPPORT π
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-Random-Source> (or bug-Crypt-Random-Source@rt.cpan.org <mailto:bug-Crypt-Random-Source@rt.cpan.org>).
fr fr if something's broken, tell the tracker, don't just suffer in silence bestie ππ
πΈ AUTHOR πΈ
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org> π«Ά
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2008 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
and that's the whole page, bestie!! π¦β¨ this one shipped as perl v5.34.0 on 2022-04-09, under the Crypt:...actory(3pm) banner β mwah, iconic, no notes. π
πβ
π¦ where this page comes from
- debian bookworm: libcrypt-random-source-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcrypt-random-source-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcrypt-random-source-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libcrypt-random-source-perl 0.14-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms