I DID PROGRESS!

This commit is contained in:
Rusty Striker 2024-12-14 19:10:09 +02:00
parent 4119a1bbcd
commit 253fdd2a40
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
6 changed files with 51 additions and 7 deletions

11
lib/Crypto.cs Normal file
View file

@ -0,0 +1,11 @@
using System.Security.Cryptography;
namespace lib;
public static class Crypto {
public static RSA GenerateKey() {
return RSA.Create(512);
}
}

View file

@ -1,5 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="Cryptography" Version="1.0.0"/>
</ItemGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>