fix prx decryption

this fix prx decryption on big endian systems