Crypt::RIPEMD160::MAC man page on OpenServer

Man page or keyword search:  
man Server   5388 pages
apropos Keyword Search (all sections)
Output format
OpenServer logo
[printable version]

RIPEMD160::MAC(3)     User Contributed Perl Documentation    RIPEMD160::MAC(3)

NAME
       Crypt::RIPEMD160::MAC - Perl extension for RIPEMD-160 MAC function

SYNOPSIS
	   use Crypt::RIPEMD160::MAC;

	   $key = "This is the secret key";

	   $mac = new Crypt::RIPEMD160::MAC($key);

	   $mac->reset();

	   $mac->add(LIST);
	   $mac->addfile(HANDLE);

	   $digest = $mac->mac();
	   $string = $mac->hexmac();

DESCRIPTION
       The Crypt::RIPEMD160 module allows you to use the RIPEMD160 Message
       Digest algorithm from within Perl programs.

EXAMPLES
	   use Crypt::RIPEMD160;

	   $ripemd160 = new Crypt::RIPEMD160;
	   $ripemd160->add('foo', 'bar');
	   $ripemd160->add('baz');
	   $digest = $ripemd160->digest();

	   print("Digest is " . unpack("H*", $digest) . "\n");

       The above example would print out the message

	   Digest is f137cb536c05ec2bc97e73327937b6e81d3a4cc9

       provided that the implementation is working correctly.

AUTHOR
       The RIPEMD-160 interface was written by Christian H. Geuer ("chris-
       tian.geuer@crypto.gun.de").

SEE ALSO
       MD5(3pm) and SHA(1).

perl v5.8.8			  1998-07-08		     RIPEMD160::MAC(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net