<s>
In	O
cryptography	O
,	O
the	O
Niederreiter	B-Algorithm
cryptosystem	I-Algorithm
is	O
a	O
variation	O
of	O
the	O
McEliece	O
cryptosystem	O
developed	O
in	O
1986	O
by	O
Harald	O
Niederreiter	O
.	O
</s>
<s>
Alice	O
selects	O
a	O
random	O
n	O
×	O
n	O
permutation	B-Algorithm
matrix	I-Algorithm
,	O
P	O
.	O
</s>
<s>
Hash	B-Error_Name
the	O
document	O
,	O
d	O
,	O
to	O
be	O
signed	O
(	O
with	O
a	O
public	O
hash	B-Error_Name
algorithm	I-Error_Name
)	O
.	O
</s>
<s>
Decrypt	O
this	O
hash	B-Error_Name
value	I-Error_Name
as	O
if	O
it	O
were	O
an	O
instance	O
of	O
ciphertext	O
.	O
</s>
<s>
Verification	O
then	O
applies	O
the	O
public	O
encryption	O
function	O
to	O
the	O
signature	O
and	O
checks	O
whether	O
or	O
not	O
this	O
equals	O
the	O
hash	B-Error_Name
value	I-Error_Name
of	O
the	O
document	O
.	O
</s>
<s>
In	O
this	O
case	O
the	O
decrypted	O
message	O
is	O
a	O
word	O
,	O
z	O
,	O
of	O
length	O
n	O
and	O
weight	O
9	O
,	O
such	O
that	O
HzT	O
equals	O
the	O
hash	B-Error_Name
value	I-Error_Name
of	O
di0	O
.	O
</s>
