C# Class ARUP.IssueTracker.Classes.DataProtector

used for encryption and decryption
Afficher le fichier Open project: ArupAus/issue-tracker Class Usage Examples

Méthodes publiques

Méthode Description
DecryptData ( string stringToDecrypt ) : string

Decrypts a string using the DPAPI.

EncryptData ( string stringToEncrypt ) : string

Encrypts a string using the DPAPI.

IsBase64String ( this s ) : bool

Method Details

DecryptData() public static méthode

Decrypts a string using the DPAPI.
public static DecryptData ( string stringToDecrypt ) : string
stringToDecrypt string The string to decrypt.
Résultat string

EncryptData() public static méthode

Encrypts a string using the DPAPI.
public static EncryptData ( string stringToEncrypt ) : string
stringToEncrypt string The string to encrypt.
Résultat string

IsBase64String() public static méthode

public static IsBase64String ( this s ) : bool
s this
Résultat bool