Skip to the content
Documentation

HashType

No ratings yet

Summary

Sets the type of encryption that will be used when storing user passwords in the database.

Usage

HashType=md5_user|md5_password|md5_site|crypt|plaintext

Description

This setting controls how the system will encrypt user passwords that are stored in the database. The following table reveals the possible values:

Type Description
md5_user Generates a hash using the MD5 algorithm based on the username and password.
md5_password Generates a hash using the MD5 algorithm based solely on the password.
md5_site Generates a hash using the MD5 algorithm based on the site name, username and password. Note that hashes which are generated using this option will not work after the value of the "SiteName" setting is changed (the users will not be able to log in).
crypt Generates a hash using the crypt() PHP function which again uses the standard Unix DES-based encryption algorithm.
plaintext The passwords are not encrypted. Instead, they are stored as plain text.

The default value is "md5_user". Note that "plaintext" is not recommended because of security reasons.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.