Net::DirectConnect::TigerHash - Perl extension for calculating tiger hashes from files or strings
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 cmdline usage: perl -MNet::DirectConnect::TigerHash -e "print map { Net::DirectConnect::TigerHash::tthfile($_) . qq{ $_\n} } @ARGV" your files here
Hashing code ported from eiskaltdc ( https://github.com/eiskaltdcpp/eiskaltdcpp )
None by default.
tthbin tth tthfile
Crypt::Rhash http://search.cpan.org/~rhash/Crypt-RHash/Rhash.pm
Oleg Alexeenkov, <pro@cpan.org>
Copyright (C) 2009-2016 Oleg Alexeenkov, eiskaltdc 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.
To install Net::DirectConnect::TigerHash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DirectConnect::TigerHash
CPAN shell
perl -MCPAN -e shell install Net::DirectConnect::TigerHash
For more information on module installation, please visit the detailed CPAN module installation guide.