src/Abc.php
public static function obfuscate(?int $id, string $alias): ?string
  {
    return self::$obfuscatorFactory->encode($id, $alias);
  }
public static function obfuscate(?int $id, string $alias): ?string
  {
    return self::$obfuscatorFactory->encode($id, $alias);
  }
Obfuscates a database ID.

@param int|null $id    The database ID.
@param string   $alias An alias for the column holding the IDs.

@return string