Skip to main content


This module provides ported PHP password functions.

Changes for v2.00 - 2024-01-08

  • Improved documentation.
  • Moved most of the code into new 'protected' methods (all prefixed with an underscore) for easier overridding in subclasses, should there be a desire to do so.
  • Static method get_info() now returns either a hashref or undef if the argument format is unrecognized. Previously it was a hash or hashref depending on the context.
  • Static method verify() now returns undef (previously 0) if the crypted string format is unrecognized.