PlumX Metrics
Embed PlumX Metrics

Testing stream ciphers by finding the longest substring of a given density

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), ISSN: 0302-9743, Vol: 5594 LNCS, Page: 122-133
2009
  • 3
    Citations
  • 0
    Usage
  • 25
    Captures
  • 0
    Mentions
  • 0
    Social Media
Metric Options:   Counts1 Year3 Year

Metrics Details

  • Citations
    3
    • Citation Indexes
      3
  • Captures
    25

Conference Paper Description

Given a string x[1..n] drawn from the alphabet {0,1}, and a rational density parameter 0 ≤ θ ≤ 1, this paper considers algorithms for finding the longest substring of x with density θ. That is, if the length of the substring is m, the number of one-bits in the substring is exactly θ×m. It is surprisingly difficult to devise an algorithm that has worst case time less than the obvious brute-force algorithm's O(n ). We present three new approaches to reducing the running time, and an algorithm that solves the problem in O(nlogn) expected time. We then apply the new algorithm, as well as an empirical estimate of the lim-sup and the lim-inf of a centred statistic which is expected to obey a law of the iterated logarithm, to the randomness testing of (a) the output of the BSD function Random, and (b) the output of the stream cipher Dragon. The results for these outputs warrant further study. © 2009 Springer Berlin Heidelberg.

Provide Feedback

Have ideas for a new metric? Would you like to see something else here?Let us know