This repository contains an .NET implementation of the Strobe protocol framework. See this David Wong's blogpost for an explanation of what is the framework.
The implementation of Strobe has not been thoroughly tested..
This implementation is adaptation of StrobeGo by Davin Wong and Strobe python reference code for .NET platform.
Windows/Linux build |
---|
Install NuGet packet:
dotnet core
dotnet add package StrobeNet
.NET Framework
Install-Package StrobeNet
See Wiki for documentation. Here is an example usage:
namespace Samples
{
using System;
using System.Text;
using StrobeNet;
class Program
{
static void Main()
{
// Create strobe object, setting init string and security
var strobe = new Strobe("MyStrobe", 128);
var messageByte = Encoding.ASCII.GetBytes("Hello gentlemen");
strobe.Ad(false, messageByte);
var prfBytes = strobe.Prf(16);
Console.WriteLine(BitConverter.ToString(prfBytes).Replace("-", ""));
}
}
}