<?php
declare(strict_types=1);

final class Tracking
{
    public static function orderPublicId(): string
    {
        return 'ORD-' . strtoupper(bin2hex(random_bytes(5)));
    }

    public static function productCode(): string
    {
        return 'PRD-' . strtoupper(substr(bin2hex(random_bytes(8)), 0, 16));
    }
}
