A function

is chosen from a finite set of functions

. An outsider observer knows

but not the actual choice

. He is, however, able to make a limited number of observations

satisfying the unknown function

. The uncertainty of the outside observer with respect to the unknown function is measured as the entropy of the output variable

when the function

is regarded as a random choice in

. With this measure, an upper bound on the uncertainty is derived. The existence of unknown functions satisfying this bound is investigated, and necessary and sufficient conditions are derived. The problem is shown to be closely related to the problem of finding algebraic codes with high minimum Hamming distance. The theory can be applied to cryptography, identifying mechanisms, access control in computers, and possibly also to reliability analysis.