public static function encodeHashId($id)
    {
        if (! config('odin.hashid.active')) {
            return $id;
        }
        
        $hashids = App::make('Hashids');
        return $hashids->encode($id, date('d'));
    }