src/TransRef.php
public static function getHashedToken($length = 25)
    {
        $token = "";
        $max   = strlen(static::getPool());
        for ($i = 0; $i < $length; $i++) {
            $token .= static::getPool()[static::secureCrypt(0, $max)];
        }

        return $token;
    }
public static function getHashedToken($length = 25)
    {
        $token = "";
        $max   = strlen(static::getPool());
        for ($i = 0; $i < $length; $i++) {
            $token .= static::getPool()[static::secureCrypt(0, $max)];
        }

        return $token;
    }
public static function getHashedToken ( $ length = 25 ) { $ token = "" ; $ max = strlen ( static :: getPool ( ) ) ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { $ token .= static :: getPool ( ) [ static :: secureCrypt ( 0 , $ max ) ] ; } return $ token ; }
Finally, generate a hashed token
@param  integer $length
@return string
Finally generate a hashed token