Attacks · Channel & cryptanalysis

Frequency analysis

Frequency analysis asks whether repeated observations reveal patterns related to hidden information.

~7 min readContinue: Correlation

Opening

What is at stake

Nonuniform inputs, biased randomness, dependent rounds, or unmodeled side channels can make observations more informative than an idealized model assumes.

How the protection works

The Rosario and Wang research analyzes particular distributions and observer assumptions. The proposed ceremony aims to keep secret-relevant structure out of the specified observable channel.

How to evaluate it

Read the theorem and its assumptions, then test randomness, correlations, timing, and the complete observable interaction of the implementation. A flat chart alone is not a proof of secrecy.

Frequency analysis succeeds

An illustrative skewed symbol histogram leads to ranked symbols and language guesses. The bars show the kind of redundancy signal used by frequency analysis; they are not measured values.

Flat marginals deny counting

Equal-height bars depict the stated model’s uniform marginal distribution. The adjacent labels show why a frequency ranking is unavailable through this count.

Where it shows up

Explore demonstrations

Connect the pieces

Read the current product, standards, and project context alongside the research and reference architecture for this topic.

Go deeper

  • No Correlation Attack

    Authors' summary: This essay presents a membership-only proof-of-knowledge protocol in which a prover convinces an observer she knows secrets without revealing them. Three intertwined ideas (balanced partitions into six equal leaves, independent ring rotations that eliminate positional anchors, and a private bijection that permutes leaf labels) throttle leakage to at most log₂6 bits per round and, in expectation, to essentially zero useful signal for predicting the next character.

  • Toward Perfect Secrecy by Design

    Authors' summary: This paper presents an end-to-end security argument for an ENI6MA-style interactive proof in which the attacker gains nothing in Shannon’s sense of perfect secrecy. The mechanism combines a one-time, entropy-dependent projection of the alphabet into six perceptual leaves; ring-rotation diffusion that spreads symbol appearances across a large configuration space; confusion from a private bijective map to six synonyms; and a second-layer enumeration of the 6! leaf permutations.

  • The Observer's Bit Budget in a Full Rosario Cipher Interaction

    Authors' summary: A quantitative information-theoretic analysis of how much an adversary can learn by observing a complete ENI6MA / Rosario–Wang authentication ceremony. The paper separates surface bits (Shannon entropy of symbols an observer can record) from effective bits (secret-relevant mutual information those recordings pin down), and argues that effective mutual information with the secret remains zero across rounds and ceremonies under the named model.

  • Why Naive Attack Intuition Is Wrong

    Authors' summary: Written for challengers who worry that watching multiple successful logins reveals the password and private map, or that random guessing eventually hits both, this essay explains why those paths do not work for the ENI6MA rotating-ring method (not mathematically, statistically, computationally, or physically).