NAME

Crypt::OpenSSL3::MD - message digest algorithms

VERSION

version 0.001

SYNOPSIS

my $md = Crypt::OpenSSL3::MD->fetch('SHA2-256');

my $context = Crypt::OpenSSL3::MD::Context->new;
$context->init($md);

$context->update("Hello, World!");
my $hash = $context->final;

DESCRIPTION

This class holds a message digest. It's used to create a digest context that will do the actual digestion.

METHODS

fetch

digest

get_block_size

get_description

get_flags

get_name

get_param

get_pkey_type

get_size

get_type

is_a

list_all_provided

names_list_all

xof

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.