added Jenkins hash algorithm for PHP compatibility