<s>
PJW	B-Error_Name
hash	I-Error_Name
function	I-Error_Name
is	O
a	O
non-cryptographic	O
hash	B-Error_Name
function	I-Error_Name
created	O
by	O
Peter	O
J	O
.	O
Weinberger	O
of	O
AT&T	O
Bell	O
Labs	O
.	O
</s>
<s>
A	O
variant	O
of	O
PJW	O
hash	B-Error_Name
had	O
been	O
used	O
to	O
create	O
ElfHash	B-Error_Name
or	O
Elf64	O
hash	B-Error_Name
that	O
is	O
used	O
in	O
Unix	O
object	O
files	O
with	O
ELF	O
format	O
.	O
</s>
<s>
Allen	O
Holub	O
has	O
created	O
a	O
portable	O
version	O
of	O
PJW	O
hash	B-Error_Name
algorithm	I-Error_Name
that	O
had	O
a	O
bug	O
and	O
ended	O
up	O
in	O
several	O
textbooks	O
,	O
as	O
the	O
author	O
of	O
one	O
of	O
these	O
textbooks	O
later	O
admitted	O
.	O
</s>
<s>
PJW	O
hash	B-Error_Name
algorithm	I-Error_Name
involves	O
shifting	O
the	O
previous	O
hash	B-Error_Name
and	O
adding	O
the	O
current	O
byte	O
followed	O
by	O
moving	O
the	O
high	O
bits	O
:	O
</s>
<s>
When	O
long	O
is	O
wider	O
than	O
32	O
bits	O
,	O
as	O
it	O
is	O
on	O
many	O
64-bit	B-Device
systems	O
,	O
the	O
code	O
contains	O
a	O
bug	O
.	O
</s>
