GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AUTHEN::HTPASSWD::UTIL (3)

.ds Aq ’

NAME

Authen::Htpasswd::Util - performs encryption of supported .htpasswd formats

CONTENTS

METHODS

    htpasswd_encrypt



    htpasswd_encrypt($hash,$password,$hashed_password);



Encrypts a cleartext $password given the specified $hash (valid values are md5, sha1, crypt, or plain). For crypt and md5 it is sometimes necessary to pass the old encrypted password as $hashed_password to be sure that the new one uses the correct salt. Exported by default.

    supported_hashes



    my @hashes = Authen::Htpasswd::Util::supported_hashes();



Returns an array of hash types available. crypt and plain are always available. sha1 is checked by attempting to load it via Digest. md5 requires Crypt::PasswdMD5.

AUTHOR

David Kamholz dkamholz@cpan.org

Yuval Kogman

COPYRIGHT & LICENSE



    Copyright (c) 2005 - 2007 the aforementioned authors.
   
    This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 AUTHEN::HTPASSWD::UTIL (3) 2011-08-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.