Solution for a theoretical datasecurity problem