Article · Wikipedia archive · Last revised Jul 12, 2026

Mimic function

A mimic function changes a file so it assumes the statistical properties of another file . That is, if is the probability of some substring occurring in , then a mimic function , recodes so that approximates for all strings of length less than some . It is commonly considered to be one of the basic techniques for hiding information, often called steganography.

Last revised
Jul 12, 2026
Read time
≈ 1 min
Length
250 w
Citations
Source

A mimic function changes a file A {\displaystyle A} so it assumes the statistical properties of another file B {\displaystyle B} . That is, if p ( t , A ) {\displaystyle p(t,A)} is the probability of some substring t {\displaystyle t} occurring in A {\displaystyle A} , then a mimic function f {\displaystyle f} , recodes A {\displaystyle A} so that p ( t , f ( A ) ) {\displaystyle p(t,f(A))} approximates p ( t , B ) {\displaystyle p(t,B)} for all strings t {\displaystyle t} of length less than some n {\displaystyle n} . It is commonly considered to be one of the basic techniques for hiding information, often called steganography.

The simplest mimic functions use simple statistical models to pick the symbols in the output. If the statistical model says that item x {\displaystyle x} occurs with probability p ( x , A ) {\displaystyle p(x,A)} and item y {\displaystyle y} occurs with probability p ( y , A ) {\displaystyle p(y,A)} , then a random number is used to choose between outputting x {\displaystyle x} or y {\displaystyle y} with probability p ( x , A ) {\displaystyle p(x,A)} or p ( y , A ) {\displaystyle p(y,A)} respectively.

Even more sophisticated models use reversible Turing machines.

References

References