Я видел множество обучающих программ для шифрования/дешифрования и примеры в сети на С#, которые используют System.Security.Cryptography.RSACryptoServiceProvider, но я надеюсь, что смогу это сделать:
- Создание открытой/закрытой пары ключей RSA
- Передайте открытый ключ (или для доказательства концепции, просто переместите его в строковой переменной)
- Создайте нового поставщика шифрования RSA и зашифруйте строку с открытым ключом
- Передайте зашифрованную строку (или данные) обратно исходному провайдеру криптографии и расшифруйте строку
Может ли кто-нибудь указать мне на полезный ресурс для этого?