Perl x Open Food Facts Hackathon: Paris, France - May 24-25 Learn more

use strict;
our $VERSION = '0.66'; # TRIAL VERSION
use Crypt::OpenSSL::Random qw(random_pseudo_bytes);
# ABSTRACT: Utility functions for Net::SAML2
use Exporter qw(import);
our @EXPORT_OK = qw(
generate_id
);
sub generate_id {
return 'NETSAML2_' . unpack 'H*', random_pseudo_bytes(32);
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Net::SAML2::Util - Utility functions for Net::SAML2
=head1 VERSION
version 0.66
=head1 SYNOPSIS
use Net::SAML2::Util qw(generate_id);
=head1 DESCRIPTION
=head1 METHODS
=head2 sub generate_id {}
Generate a NETSAML2 Request Id
=head1 AUTHORS
=over 4
=item *
Chris Andrews <chrisa@cpan.org>
=item *
Timothy Legge <timlegge@gmail.com>
=back
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2023 by Venda Ltd, see the CONTRIBUTORS file for others.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut