I have a X509 certificate that I would like to use to encrypt/decrypt password. However, I can only use AES-256 algorithm.
Everything I have found on the internet suggests to use RSACryptoServiceProvider, but that does not do AES-256 encryption.
I don't know a lot about encryption so some basic code examples would help a lot.