Cryptanalysis of a discrete chaotic cryptosystem using external key