Question
RSA Encryption Help with Bouncy Castle
Does anyone have experience doing RSA encryption with Bouncy
Castle installed as a security provider?
For example, what is the proper syntax of the Encrypt(string, key[, algorithm[, encoding]])) function to send an RSA encrypted string to someone given the following values:
string = "This is the string to encrypt"
RSA Public Key Moduls = qFP+TNkUxiwqgYkce7iBR1Z2VndmSDLlxM0UQEW5UQQPdTWdEl6iIjteIZr5M9R6EBsGh6XKHG7et9SAJ/0h/OwBJMOaoGpoQq2IJHKqKA4UhC30fnFZcfVz6ne4dTUemkJinIUiSlHLaChdANoe9lC9wNVGu1tUpkiwj+Pn4/c=
RSA Public Key Exponent = AQAB
Padding = pKCS#1 v1.5
Thanks in advance for any help you can provide.
For example, what is the proper syntax of the Encrypt(string, key[, algorithm[, encoding]])) function to send an RSA encrypted string to someone given the following values:
string = "This is the string to encrypt"
RSA Public Key Moduls = qFP+TNkUxiwqgYkce7iBR1Z2VndmSDLlxM0UQEW5UQQPdTWdEl6iIjteIZr5M9R6EBsGh6XKHG7et9SAJ/0h/OwBJMOaoGpoQq2IJHKqKA4UhC30fnFZcfVz6ne4dTUemkJinIUiSlHLaChdANoe9lC9wNVGu1tUpkiwj+Pn4/c=
RSA Public Key Exponent = AQAB
Padding = pKCS#1 v1.5
Thanks in advance for any help you can provide.
