C# Class Zazzles.Data.Transform

Handle all encryption/decryption
Afficher le fichier Open project: FOGProject/zazzles

Méthodes publiques

Méthode Description
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

Method Details

ByteArrayToHexString() public static méthode

Converts a byte array to a hex string
public static ByteArrayToHexString ( byte ba ) : string
ba byte The byte array to be converted
Résultat string

DecodeBase64() public static méthode

Decodes a base64 encoded string
public static DecodeBase64 ( string toDecode ) : string
toDecode string A base64 encoded string
Résultat string

EncodeBase64() public static méthode

Base64 encode a string
public static EncodeBase64 ( string toEncode ) : string
toEncode string The string that will be encoded
Résultat string

HexStringToByteArray() public static méthode

Converts a hex string to a byte array
public static HexStringToByteArray ( string hex ) : byte[]
hex string The hex string to be converted
Résultat byte[]