Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
POE::Component::ServerUserCContributed PPOE::Component::Server::IRC::Common(3)

NAME
       POE::Component::Server::IRC::Common - provides a	set of common
       functions for the POE::Component::Server::IRC suite.

SYNOPSIS
	use strict;
	use warnings;

	use POE::Component::Server::IRC::Common	qw( :ALL );

	my $passwd = mkpasswd( 'moocow'	);

DESCRIPTION
       POE::Component::IRC::Common provides a set of common functions for the
       POE::Component::Server::IRC suite.

FUNCTIONS
   "mkpasswd"
       Takes one mandatory argument a plain string to 'encrypt'. If no further
       options are specified it	uses "crypt" to	generate the password.
       Specifying 'md5'	option uses Crypt::PasswdMD5's "unix_md5_crypt"
       function	to generate the	password. Specifying 'apache' uses
       Crypt::PasswdMD5	"apache_md5_crypt" function to generate	the password.

	my $passwd = mkpasswd( 'moocow'	); # vanilla crypt()
	my $passwd = mkpasswd( 'moocow', md5 =>	1 ) # unix_md5_crypt()
	my $passwd = mkpasswd( 'moocow', apache	=> 1 ) # apache_md5_crypt()

   "chkpasswd"
       Takes two mandatory arguments, a	password string	and something to check
       that password against. The function first tries md5 comparisons (UNIX
       and Apache), then "crypt" and finally plain-text	password check.

AUTHOR
       Chris 'BinGOs' Williams

LICENSE
       Copyright A(C) Chris Williams

       This module may be used,	modified, and distributed under	the same terms
       as Perl itself. Please see the license that came	with your Perl
       distribution for	details.

SEE ALSO
       POE::Component::Server::IRC

perl v5.32.0			  2011-1POE::Component::Server::IRC::Common(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | LICENSE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=POE::Component::Server::IRC::Common&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help