updated formatting of rsa output