log1x/acf-encrypted-password

A simple ACF field to use in place of the default Password field to encrypt the password stored in the database using PHP 5.5's password_hash.

Maintainers

Package info

github.com/Log1x/acf-encrypted-password

Homepage

Issues

Type:wordpress-plugin

pkg:composer/log1x/acf-encrypted-password

Statistics

Installs: 280

Dependents: 0

Suggesters: 0

Stars: 10

v1.0.3 2019-07-04 10:15 UTC

This package is auto-updated.

Last update: 2026-03-05 01:32:56 UTC


README

Packagist Packagist Downloads

This is a simple ACF field to use in place of the default Password field to encrypt the password stored in the database using PHP 5.5's password_hash() function.

Requirements

  • PHP >= 7
  • ACF >= 5

Installation

$ composer require log1x/acf-encrypted-password

Usage

You can verify the password using PHP 5.5's password_verify() function like so:

$input = $_GET['password'];
$hash  = get_field('password');

if (password_verify($input, $hash)) {
  echo 'Correct';
} else {
  echo 'Incorrect';
}