Orthogonal Codeword Cryptography



I'm searching for a cryptosystem that allow me to obtain codeword that
are mutually orthogonal. For example
E(f,k)=g
E(y,k)=g'
and exist one function Z of two arguments such that:
Z(g,g')=0
Such cryptosystem exists?

.