|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodesimian.ChaosMeasure
public class ChaosMeasure
measures the chaos of bits, bytes, or other combination of bits.
If it is truly chaotic, returns 1. If its completely predictable, returns 0.
Most things will cause a return near 1 but not equal to it.
WARNING: encrypted text appears perfectly random, but is not. Any measurement of 1.0 is probably wrong.
Dont make assumptions. Have some doubt of your methods.
Method Summary | |
---|---|
static double |
measureChaosOfBitsByZip(boolean[] bits)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static double measureChaosOfBitsByZip(boolean[] bits)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |