Subversion Repositories oidplus

Rev

Rev 1282 | Rev 1288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1282 Rev 1283
Line 231... Line 231...
231
         * @param string $id
231
         * @param string $id
232
         * @return int
232
         * @return int
233
         * @throws OIDplusException
233
         * @throws OIDplusException
234
         */
234
         */
235
        public static function genWhoisAuthToken(string $id): int {
235
        public static function genWhoisAuthToken(string $id): int {
236
                return smallhash(OIDplus::authUtils()->makeSecret('d8f44c7c-f4e9-11ed-86ca-3c4a92df8582:'.$id));
236
                return smallhash(OIDplus::authUtils()->makeSecret(['d8f44c7c-f4e9-11ed-86ca-3c4a92df8582',$id]));
237
        }
237
        }
238
}
238
}