Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 621
Zeile 148... Zeile 148...
148
 *     of data that you may fill with 128 bits of information. Be aware,
148
 *     of data that you may fill with 128 bits of information. Be aware,
149
 *     however, bits 48 through 51 will be replaced with the UUID version
149
 *     however, bits 48 through 51 will be replaced with the UUID version
150
 *     field, and bits 64 and 65 will be replaced with the UUID variant. You
150
 *     field, and bits 64 and 65 will be replaced with the UUID variant. You
151
 *     MUST NOT rely on these bits for your application needs.
151
 *     MUST NOT rely on these bits for your application needs.
152
 *
152
 *
153
 * @return non-empty-string Version 7 UUID as a string
153
 * @return non-empty-string Version 8 UUID as a string
154
 */
154
 */
155
function v8(string $bytes): string
155
function v8(string $bytes): string
156
{
156
{
157
    return Uuid::uuid8($bytes)->toString();
157
    return Uuid::uuid8($bytes)->toString();
158
}
158
}