C# Класс Google.Apis.Util.Protect.DataProtection

Data protection utility to protect data.
Показать файл Открыть проект

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

Метод Описание
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.

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

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

Protects the given content and transform it into a byte array.
public static Protect ( string content ) : byte[]
content string
Результат byte[]

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

Unprotects the given byte array and return the original content.
public static Unprotect ( byte data ) : string
data byte
Результат string