Yii extension to generate short hashes from prime numbers