C# Класс Encryption.WindowsProtectedData

Encrypts data using Windows ProtectedData functionality. This does not require an encryption key, since the encryption/decryption is performed by Windows, and hence is a black-box. The downside of this approach is that the encrypted data can only be decrypted on the same physical server.
Показать файл Открыть проект

Открытые методы

Метод Описание
Decrypt ( string cipherText ) : string

Decrypts a string encrypted using Windows built-in ProtectedData

Encrypt ( string plainText ) : string

Encrypts a string using Windows built-in ProtectedData

Описание методов

Decrypt() публичный статический Метод

Decrypts a string encrypted using Windows built-in ProtectedData
public static Decrypt ( string cipherText ) : string
cipherText string
Результат string

Encrypt() публичный статический Метод

Encrypts a string using Windows built-in ProtectedData
public static Encrypt ( string plainText ) : string
plainText string
Результат string