C# Class ARUP.IssueTracker.Classes.DataProtector

used for encryption and decryption
Show file Open project: ArupAus/issue-tracker Class Usage Examples

Public Methods

Method 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 method

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

EncryptData() public static method

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

IsBase64String() public static method

public static IsBase64String ( this s ) : bool
s this
return bool