Digest::OMAC2 - OMAC 2 implementation
my $d = Digest::OMAC2->new( $key, $cipher );
OMAC 2 is a variant of the CMAC/OMAC 1 algorithm. The initialization routines are slightly different. OMAC2 actually precedes OMAC1, so Digest::CMAC/Digest::OMAC1 is the reccomended version. Supposedly OMAC1 was more rigorously analyzed.
To install Digest::CMAC, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.