Convert::ModHex - Conversion utilities between Yubico ModHex and hexa/decimal
version 0.001
use Convert::ModHex qw( modhex2hex modhex2dec hex2modhex dec2modhex ); my $modhex = 'ccbc'; my $hex = modhex2hex($modhex); my $dec = modhex2dec($modhex); $modhex = hex2modhex($hex); $modhex = dec2modhex($dec);
This module provides utility functions that you can use to convert between ModHex encoding (as used by the Yubikey tokens).
Accepts a ModHex-encoded scalar, returns a hexadecimal-encoded scalar.
Accepts a ModHex-encoded scalar, returns a numeric scalar.
Accepts a hexadecimal scalar and returns the ModHex-encoded scalar.
Accepts a numeric scalar and returns the ModHex-encoded scalar.
You can find documentation for this module with the perldoc command.
perldoc Convert::ModHex
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.
CPAN Testers
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions.
http://www.cpantesters.org/distro/C/Convert-ModHex
CPAN Testers Matrix
The CPAN Testers Matrix is a website that provides a visual way to determine what Perls/platforms PASSed for a distribution.
http://matrix.cpantesters.org/?dist=Convert-ModHex
CPAN Testers Dependencies
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
http://deps.cpantesters.org/?module=Convert::ModHex
CPAN Ratings
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
http://cpanratings.perl.org/d/Convert-ModHex
You can email the author of this module at MELO at cpan.org asking for help with any problems you have.
MELO at cpan.org
Please report any bugs or feature requests by email to bug-convert-modhex at rt.cpan.org, or through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Convert-ModHex. You will be automatically notified of any progress on the request by the system.
bug-convert-modhex at rt.cpan.org
https://github.com/melo/Convert-ModHex
git clone https://github.com/melo/Convert-ModHex.git
Pedro Melo <melo@cpan.org>
This software is Copyright (c) 2011 by Pedro Melo.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Convert::ModHex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::ModHex
CPAN shell
perl -MCPAN -e shell install Convert::ModHex
For more information on module installation, please visit the detailed CPAN module installation guide.