A note on the error detection in an RSA architecture by means of residue codes