Net::DN...::Digest(3)

πŸ¦‹ NAME πŸ¦‹

Okay bestie, welcome to Net::DN...::Digest(3) β€” the User Contributed Perl Documentation page for Net::DNS::SEC::Digest, aka Message Digest Algorithms. It's giving cryptographic interface realness, and we're gonna walk through it together πŸ’–


✨ SYNOPSIS ✨

require Net::DNS::SEC::Digest;

$object = Net::DNS::SEC::Digest::SHA->new(256);
$object->add($text);
$object->add($more);
$digest = $object->digest;

🌸 DESCRIPTION 🌸

So Net::DNS::SEC::Digest is the interface package that gives you access to the message digest algorithm implementations inside the OpenSSL libcrypto library. That's the whole vibe: it's the little Perl doorway to those libcrypto digest algorithms, and honestly? Obsessed 🫢


πŸ”₯ METHODS πŸ”₯

✨ new ✨

require Net::DNS::SEC::Digest;
$object = Net::DNS::SEC::Digest::SHA->new(256);

This one creates and initialises a brand-new digest object instance for the algorithm class you specify. New object, fresh start, main character energy πŸ‘‘

πŸŽ€ add πŸŽ€

$object->add($data);
$object->add($more);

Append the specified data to the digest stream. You can hit it with $data, then hit it again with $more β€” keep feeding the stream, bestie πŸ’…

⭐ digest ⭐

$digest = $object->digest;

Returns an octet string containing the calculated digest. That's the payoff, the final reveal, the digest moment ✨


🫢 ACKNOWLEDGMENT 🫢

Big thanks are due to Eric Young and the many developers and contributors to the OpenSSL cryptographic library. Literally iconic work, no cap πŸ’–


Copyright (c)2020,2021 Dick Franks.

All rights reserved.


🌈 LICENSE 🌈

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the original copyright notices appear in all copies and that both copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


πŸ’œ SEE ALSO πŸ’œ


Okay that's the whole page, bestie πŸŽ€ This gem is from perl v5.44.0, dated 2026-10-17, and the footer calls it Net::DN...::Digest(3). Bye πŸ’…βœ¨

πŸ“¦ where this page comes from