Small bug fix in RSA encryption