C# 클래스 Zazzles.Data.Transform

Handle all encryption/decryption
파일 보기 프로젝트 열기: FOGProject/zazzles

공개 메소드들

메소드 설명
ByteArrayToHexString ( byte ba ) : string

Converts a byte array to a hex string

DecodeBase64 ( string toDecode ) : string

Decodes a base64 encoded string

EncodeBase64 ( string toEncode ) : string

Base64 encode a string

HexStringToByteArray ( string hex ) : byte[]

Converts a hex string to a byte array

메소드 상세

ByteArrayToHexString() 공개 정적인 메소드

Converts a byte array to a hex string
public static ByteArrayToHexString ( byte ba ) : string
ba byte The byte array to be converted
리턴 string

DecodeBase64() 공개 정적인 메소드

Decodes a base64 encoded string
public static DecodeBase64 ( string toDecode ) : string
toDecode string A base64 encoded string
리턴 string

EncodeBase64() 공개 정적인 메소드

Base64 encode a string
public static EncodeBase64 ( string toEncode ) : string
toEncode string The string that will be encoded
리턴 string

HexStringToByteArray() 공개 정적인 메소드

Converts a hex string to a byte array
public static HexStringToByteArray ( string hex ) : byte[]
hex string The hex string to be converted
리턴 byte[]