public static byte CreateRandomByte() { return(BaseFunctions.secureRandom(1)[0]); }
/// <summary> /// </summary> /// <param name="data"></param> /// <returns></returns> public static string createStringHash(byte[] data) { return(BaseFunctions.convertByteArrayToString(createBinaryHash(data))); }
public static string createStringHash(string data) { return(BaseFunctions.convertByteArrayToString(HashBaseFunction.createBinaryHash(BaseFunctions.convertStringToByteArray(data)))); }
/// <summary> /// </summary> /// <param name="data"></param> /// <returns></returns> public static byte[] createBinaryHash(string data) { return(createBinaryHash(BaseFunctions.convertStringToByteArray(data))); }