\JCryptPassword
Joomla Platform Password Hashing Interface
Synopsis
interface JCryptPassword
{
- // constants
- const BLOWFISH = '$2y$';
- const JOOMLA = 'Joomla';
- const PBKDF = '$pbkdf$';
- const MD5 = '$1$';
- // methods
- public string create()
- public boolean verify()
- public void setDefaultType()
- public void getDefaultType()
Constants
Name | Value |
---|---|
BLOWFISH | '$2y$' |
JOOMLA | 'Joomla' |
PBKDF | '$pbkdf$' |
MD5 | '$1$' |
Methods
public
- create() — Creates a password hash
- getDefaultType() — Gets the default type
- setDefaultType() — Sets a default prefix
- verify() — Verifies a password hash