Crypt:...mDevice(3pm)

πŸ’– NAME πŸ’–

ok so bestie, this is Crypt::Random::Source::Base::RandomDevice β€” it's the base class for random devices. that's the whole vibe. she's the blueprint, not the final boss. πŸŽ€


✨ VERSION ✨

version 0.14 β€” periodt, that's the one. πŸ’…


🌸 SYNOPSIS 🌸

like, here's how you'd actually use her:

use Moo;
extends qw(Crypt::Random::Source::Base::RandomDevice);

sub default_path { "/dev/myrandom" }

yes bestie, that's it. you extends her and you tell her where your random lives. slay. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. this is a base class for random device sources β€” she's the mom, the template, the group chat admin. she doesn't do the work herself, she just sets the expectations. 😌

if you want the actual implementations (the ones that genuinely go out there and pull randomness), you want:

  • Crypt::Random::Source::Strong::devrandom
  • Crypt::Random::Source::Weak::devurandom

go check those out, they're the ones actually doing the heavy lifting fr fr. πŸ’ͺ


🫢 SUPPORT 🫢

found a bug? not me being dramatic but pls report it, bestie. bugs may be submitted through the RT bug tracker:

https://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-Random-Source

or you can just email it straight to bug-Crypt-Random-Source@rt.cpan.org β€” inbox is open, she's listening. πŸ“¬


πŸ‘‘ AUTHOR πŸ‘‘

XXXX XXX'XX (Yuval Kogman) β€” icon, legend, wrote this whole thing β€” reachable at nothingmuch@woobling.org. give her her flowers. 🌷


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. so like, free free. do your thing. πŸ•ŠοΈ


and that's the whole page bestie, no cap β€” this was Crypt:...mDevice(3pm), served to you by perl v5.34.0, dated 2022-04-09. tysm for reading, ily, go generate some randomness responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from