joomla/joomla-platform — pull request #1643 by elinw (2012-10-26 02:54:54+00:00)
Title: Add a defaultType property to JCryptPassword

Add a default hash type property to JCryptPassword and implement it in JCryptPasswordSimple.

Previously the default was always $2a$ (Blowfish), but with the the application can set (and get) a default. In the absence of a default being set Blowfish is used.

This pull request also cleans up some small issue elsewhere in the class that emerged when testing and makes the argument name consistent in the interface and implementations to make it more readable.