C# Class SharpTox.Core.ToxTools

A set of helper functions for Tox.
Exibir arquivo Open project: hexafluoride/Detox Class Usage Examples

Public Methods

Method Description
Hash ( byte data ) : byte[]

Generates a cryptographic hash of the given data.

Private Methods

Method Description
EpochToDateTime ( ulong epoch ) : System.DateTime
HexBinToString ( byte b ) : string
RemoveNull ( string s ) : string
StringToHexBin ( string s ) : byte[]

Method Details

Hash() public static method

Generates a cryptographic hash of the given data.
public static Hash ( byte data ) : byte[]
data byte The data to calculate the hash of.
return byte[]