Enscrypt replaces wordpress authentication protocols with a mechanism that uses the far more secure scrypt hashing algorithm.
Scrypt is a superior hashing algorithm with configurable CPU and memory parameters. As such, when properly configured, it takes long enough and is secure enough to be highly resistant to brute-force attacks.
Enscrypt can be enabled and disabled at-will without interfering with the built-in WordPress authentication mechanism.
Outside of having an appropriate WordPress version, the only necessary dependency to use Enscrypt is to install the scrypt PECL extension for PHP.
Assuming you're using Ubuntu Linux and already have the
pecl
PHP package manager installed, perform the following
as root:
- Install the scrypt package by running:
pecl install scrypt
- Create the module file for PHP by running:
echo "extension=scrypt.so" > /etc/php5/mods-available/scrypt.ini
- Enable the module by running:
php5enmod -s ALL scrypt
If you are using another operating system, you will need to adjust these instructions to accomplish the same result for your OS. If you do not have
pecl
installed, refer to this answer:
http://askubuntu.com/questions/403327/install-pecl-packages-on-ubuntu#answer-403348