Just added this extension:
http://www.yiiframework.com/extension/yii-password-strategies/
It deals with hashing and verifying passwords according to specific configurable strategies, so that different types of password hashing methods can be used in the same model. This is useful if you have an existing system that uses e.g. unsalted md5 and you want to upgrade to a more secure system like bcrypt. When users using the legacy md5 passwords log in, their password will automatically be rehashed using the new bcrypt strategy.
More docs and info at github: https://github.com/phpnode/YiiPassword
http://www.yiiframework.com/extension/yii-password-strategies/
It deals with hashing and verifying passwords according to specific configurable strategies, so that different types of password hashing methods can be used in the same model. This is useful if you have an existing system that uses e.g. unsalted md5 and you want to upgrade to a more secure system like bcrypt. When users using the legacy md5 passwords log in, their password will automatically be rehashed using the new bcrypt strategy.
More docs and info at github: https://github.com/phpnode/YiiPassword