# Information Security and Cryptography Research Group

## Cryptanalysis of the Knapsack Generator

### Simon Knellwolf and Willi Meier

FSE, Lecture Notes in Computer Science, Springer, vol. 6733, pp. 188-198, 2011.

The knapsack generator was introduced in 1985 by Rueppel and Massey as a novel LFSR-based stream cipher construction. Its output sequence attains close to maximum linear complexity and its relation to the knapsack problem suggests strong security. In this paper we analyze the security of practically relevant instances of this generator as they are recommended for the use in RFID systems, for example. We describe a surprisingly effective guess and determine strategy, which leads to practical attacks on small instances and shows that the security margin of larger instances is smaller than expected. We also briefly discuss a variant of the knapsack generator recently proposed by von zur Gathen and Shparlinski and show that this variant should not be used for cryptographic applications.

## BibTeX Citation

@inproceedings{KneMei11,
author       = {Simon Knellwolf and Willi Meier},
title        = {Cryptanalysis of the Knapsack Generator},
editor       = {Antoine Joux},
booktitle    = {FSE},
pages        = {188-198},
series       = {Lecture Notes in Computer Science},
volume       = {6733},
year         = {2011},
publisher    = {Springer},
}