Niederreiter cryptosystem
In cryptography, the Niederreiter cryptosystem is a variation of the McEliece cryptosystem developed in 1986 by Harald Niederreiter. It applies the same idea to the parity check matrix, H, of a linear code. Niederreiter is equivalent to McEliece from a security point of view. It uses a syndrome as ciphertext and the message is an error pattern. The encryption of Niederreiter is about ten times faster than the encryption of McEliece. Niederreiter can be used to construct a digital signature scheme.
Scheme definition
A special case of Niederreiter's original proposal was broken but the system is secure when used with a Binary Goppa code.Key generation
- Alice selects a binary -linear Goppa code, G, capable of correcting t errors. This code possesses an efficient decoding algorithm.
- Alice generates a × n parity check matrix, H, for the code, G.
- Alice selects a random × binary non-singular matrix, S.
- Alice selects a random n × n permutation matrix, P.
- Alice computes the × n matrix, Hpub = SHP.
- Alice's public key is ; her private key is.
Message encryption
Suppose Bob wishes to send a message, m, to Alice whose public key is :- Bob encodes the message, m, as a binary string em' of length n and weight at most t.
- Bob computes the ciphertext as c = HpubeT.
Message decryption
Upon receipt of c = HpubmT from Bob, Alice does the following to retrieve the message, m.- Alice computes S−1c = HPmT.
- Alice applies a syndrome decoding algorithm for G to recover PmT.
- Alice computes the message, m, via mT = P−1PmT.
Signature scheme
Courtois, Finiasz and Sendrier showed how the Niederreiter cryptosystem can be used to derive a signature scheme- Calculate, where is a Hash Function and is the signed document.
- Calculate, where denotes concatenation.
- Attempt to decrypt until the smallest value of for which is decryptable is found.
- Use the trapdoor function to compute such that, where is the public key.
- Compute the index of in the space of words of weight 9.
- Use as the signature.
- Recover from index.
- Compute with the public key.
- Compute.
- Compare and. If they are the same the signature is valid.