package Net::DirectConnect::TigerHash;
use 5.006001;
use strict;
use warnings;
require Exporter;
our @ISA = qw(Exporter);
#Items to export into callers namespace by default. Note: do not export
#names by default without a very good reason. Use EXPORT_OK instead.
#Do not simply export all your public functions/methods/constants.
#This allows declaration	use tiger ':all';
#If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
#will save memory.
our %EXPORT_TAGS = (
  'all' => [ qw(
      tthbin
      tth
      tthfile
      )
  ]
);
#tigerhash
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT    = qw(
);
our $VERSION = '0.01';
require XSLoader;
XSLoader::load( 'Net::DirectConnect::TigerHash', $VERSION );
#Preloaded methods go here.
1;
__END__
#Below is stub documentation for your module. You'd better edit it!

=head1 NAME

tiger - Perl extension for blah blah blah

=head1 SYNOPSIS

  use Net::DirectConnect::TigerHash qw(tthbin tth tthfile);
  print tthbin('somestring'); #24 bytes
  print tth('somestring'); #base32 encoded, 39 chars
  print tthfile('/etc/passwd'); #base32 encoded
  print tthfile('__NOT_eXisted_file___'); #undef

=head1 DESCRIPTION

 ported from linuxdcpp-1.0.3/client

=head2 EXPORT

None by default.

=head2 Exportable functions

 tthbin
 tth
 tthfile

=head1 SEE ALSO

 https://launchpad.net/linuxdcpp
 http://www.open-content.net/specs/draft-jchapweske-thex-02.html  

=head1 AUTHOR

Oleg Alexeenkov, E<lt>pro@cpan.orgE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2009 Oleg Alexeenkov, linuxdcpp authors

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.10.1 or,
at your option, any later version of Perl 5 you may have available.


=cut
