started c# pow implementation
This commit is contained in:
parent
3199f93d4b
commit
fd0f13cf63
7 changed files with 562 additions and 0 deletions
16
pow-csharp/onionrpow-cli/Program.cs
Normal file
16
pow-csharp/onionrpow-cli/Program.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Text;
|
||||
|
||||
using onionrpow;
|
||||
|
||||
namespace onionrpow_cli
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
onionrpow.OnionrPow.compute(Encoding.UTF8.GetBytes("test"), 4);
|
||||
}
|
||||
}
|
||||
}
|
13
pow-csharp/onionrpow-cli/onionrpow-cli.csproj
Normal file
13
pow-csharp/onionrpow-cli/onionrpow-cli.csproj
Normal file
|
@ -0,0 +1,13 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\onionrpow\onionrpow.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<RootNamespace>onionrpow_cli</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue