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> 🫢


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