I'm working with RSACryptoServiceProvider
and I looked at examples on some book and on the Internet. In all the examples, a new instance of the type is being created in every method it is being used.
Is it not recommended to create only one RSACryptoServiceProvider
instance and reuse it in all methods?