Help for this page

Select Code to Download


  1. or download this
    sub verify_wordpress_pass {
        my ($wordpress_hashed_pw, $passphrase) = @_;
    ...
        # Note, $passphrase is the unencrypted password you want to verify
        return $ppr->match($passphrase); # Returns 1 if matched, undef if 
    +failed
    }
    
  2. or download this
    sub print_wordpress_pass {
        my ($wordpress_hashed_pw, $passphrase) = @_;
    ...
        
        print $wordpress_hashed_pw . "\n" . $set_ppr->as_crypt . "\n";
    }