C# Class 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.
Afficher le fichier Open project: agardiner/hfmcmd

Méthodes publiques

Méthode Description
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

Method Details

Decrypt() public static méthode

Decrypts a string encrypted using Windows built-in ProtectedData
public static Decrypt ( string cipherText ) : string
cipherText string
Résultat string

Encrypt() public static méthode

Encrypts a string using Windows built-in ProtectedData
public static Encrypt ( string plainText ) : string
plainText string
Résultat string