C# Class Google.Apis.Util.Protect.DataProtection

Data protection utility to protect data.
显示文件 Open project: Gainedge/BetterExplorer

Public Methods

Method Description
Protect ( string content ) : byte[]

Protects the given content and transform it into a byte array.

Unprotect ( byte data ) : string

Unprotects the given byte array and return the original content.

Method Details

Protect() public static method

Protects the given content and transform it into a byte array.
public static Protect ( string content ) : byte[]
content string
return byte[]

Unprotect() public static method

Unprotects the given byte array and return the original content.
public static Unprotect ( byte data ) : string
data byte
return string