Class PatternChecker

java.lang.Object
de.das.encrypter.examples.PatternChecker

public class PatternChecker extends Object
This example shows how uniformly distributed the random values of a key bundle are. A search is made in the key ring for the occurrence of identical patterns. First, patterns consisting of the three consecutive bytes are formed and compared with all three-byte patterns of the key ring. Then the patterns with four consecutive bytes and so on. The number of bytes in the pattern is increased until no more identical patterns are found.
  • Constructor Details

    • PatternChecker

      public PatternChecker()
  • Method Details

    • main

      public static void main(String[] args)