Problem equivalent to ChorRivest cryptosystem